Skip to content
  • Vinson Lee's avatar
    glsl-fs-fogscale: Fix GCC format-security warnings. · 62391faf
    Vinson Lee authored
    glsl-fs-fogscale.c: In function ‘piglit_display’:
    glsl-fs-fogscale.c:140:3: warning: format not a string literal and no format arguments [-Wformat-security]
       piglit_report_subtest_result(PIGLIT_SKIP, tests[1]);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    glsl-fs-fogscale.c:141:3: warning: format not a string literal and no format arguments [-Wformat-security]
       piglit_report_subtest_result(PIGLIT_SKIP, tests[2]);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Fixes: e28f6029
    
     ("gl-3.2-compat: test gl_FogFragCoord built-in with geometry shaders")
    Signed-off-by: default avatarVinson Lee <vlee@freedesktop.org>
    Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
    62391faf