diff options
author | Andres Gomez <[email protected]> | 2018-08-01 15:47:13 +0300 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2018-08-02 10:06:44 +0300 |
commit | 18d9dc179f78f68e598cb21143743dbd71197c93 (patch) | |
tree | 53c091d0be7aaabbf7b3e8f9d5e0d1e78d4fa3df /src/util/crc32.c | |
parent | 9d220fa950850d751fbbbc2cd4ec24d024fcad70 (diff) |
gallium/aux/util: use util_snprintf() in test_texture_barrier
Instead of plain snprintf(). To fix the MSVC 2013 build:
Compiling src\gallium\auxiliary\util\u_tests.c ...
u_tests.c
src\gallium\auxiliary\util\u_tests.c(624) : warning C4013: 'snprintf' undefined; assuming extern returning int
...
gallium.lib(u_tests.obj) : error LNK2019: unresolved external symbol _snprintf referenced in function _test_texture_barrier
build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll : fatal error LNK1120: 1 unresolved externals
scons: *** [build\windows-x86-debug\gallium\targets\graw-gdi\graw.dll] Error 1120
scons: building terminated because of errors.
Fixes: 56342c97ee7 ("gallium/u_tests: test FBFETCH and shader-based blending with MSAA")
Cc: Marek Olšák <[email protected]>
Cc: Brian Paul <[email protected]>
Cc: Roland Scheidegger <[email protected]>
Cc: Dieter Nützel <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/util/crc32.c')
0 files changed, 0 insertions, 0 deletions