x86 (32-bit) fix for last g++ fix.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25018 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
772139cd4b
commit
4e9d8c3171
2 changed files with 4 additions and 4 deletions
|
|
@ -73,8 +73,8 @@ public:
|
||||||
TInfoSinkBase& operator<<(char c) { append(1, c); return *this; }
|
TInfoSinkBase& operator<<(char c) { append(1, c); return *this; }
|
||||||
TInfoSinkBase& operator<<(const char* s) { append(s); return *this; }
|
TInfoSinkBase& operator<<(const char* s) { append(s); return *this; }
|
||||||
TInfoSinkBase& operator<<(int n) { append(String(n)); return *this; }
|
TInfoSinkBase& operator<<(int n) { append(String(n)); return *this; }
|
||||||
TInfoSinkBase& operator<<(const unsigned int n) { append(String(n)); return *this; }
|
TInfoSinkBase& operator<<(unsigned int n) { append(String(n)); return *this; }
|
||||||
TInfoSinkBase& operator<<(size_t n) { append(String(n)); return *this; }
|
TInfoSinkBase& operator<<(long unsigned int n) { append(String(n)); return *this; }
|
||||||
TInfoSinkBase& operator<<(float n) { const int size = 40; char buf[size];
|
TInfoSinkBase& operator<<(float n) { const int size = 40; char buf[size];
|
||||||
snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? "%f" : "%g", n);
|
snprintf(buf, size, (fabs(n) > 1e-8 && fabs(n) < 1e8) || n == 0.0f ? "%f" : "%g", n);
|
||||||
append(buf);
|
append(buf);
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,5 @@
|
||||||
// source have to figure out how to create revision.h just to get a build
|
// source have to figure out how to create revision.h just to get a build
|
||||||
// going. However, if it is not updated, it can be a version behind.
|
// going. However, if it is not updated, it can be a version behind.
|
||||||
|
|
||||||
#define GLSLANG_REVISION "24977"
|
#define GLSLANG_REVISION "25015"
|
||||||
#define GLSLANG_DATE "2014/01/23 14:40:33"
|
#define GLSLANG_DATE "2014/01/25 18:44:34"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue