diff options
author | Andres Gomez <[email protected]> | 2018-08-01 17:16:24 +0300 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2018-08-02 10:06:44 +0300 |
commit | 8d3ccdbb9ba480dfe435023b747714cd517e5028 (patch) | |
tree | bd1c08e6aebf2d5ec93823dc34f4a58cd60128bc /progs/vpglsl/for.glsl | |
parent | 1090e97e77fcde03552320b8262f14e3f0367391 (diff) |
mesa: replace binary constants with hexadecimal constants18.2-branchpoint
The binary constant notation "0b" is a GCC extension. Instead, we use
hexadecimal notation to fix the MSVC 2013 build:
Compiling src\mesa\main\texcompress_astc.cpp ...
texcompress_astc.cpp
src\mesa\main\texcompress_astc.cpp(111) : error C2059: syntax error : 'bad suffix on number'
...
src\mesa\main\texcompress_astc.cpp(1007) : fatal error C1003: error count exceeds 100; stopping compilation
scons: *** [build\windows-x86-debug\mesa\main\texcompress_astc.obj] Error 2
scons: building terminated because of errors.
v2: Fix wrong conversion (Ilia).
Fixes: 38ab39f6501 ("mesa: add ASTC 2D LDR decoder")
Cc: Marek Olšák <[email protected]>
Cc: Brian Paul <[email protected]>
Cc: Roland Scheidegger <[email protected]>
Cc: Mike Lothian <[email protected]>
Cc: Gert Wollny <[email protected]>
Cc: Dieter Nützel <[email protected]>
Cc: Ilia Mirkin <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'progs/vpglsl/for.glsl')
0 files changed, 0 insertions, 0 deletions