mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +00:00
remove register specifier, deprecated in C++11
This commit is contained in:
parent
dbb0e5a312
commit
df192a6bcc
@ -133,9 +133,9 @@ namespace detail
|
||||
// of float and half (127 versus 15).
|
||||
//
|
||||
|
||||
register int s = (i >> 16) & 0x00008000;
|
||||
register int e = ((i >> 23) & 0x000000ff) - (127 - 15);
|
||||
register int m = i & 0x007fffff;
|
||||
int s = (i >> 16) & 0x00008000;
|
||||
int e = ((i >> 23) & 0x000000ff) - (127 - 15);
|
||||
int m = i & 0x007fffff;
|
||||
|
||||
//
|
||||
// Now reassemble s, e and m into a half:
|
||||
|
Loading…
Reference in New Issue
Block a user