graphics/sdl2_gpu: fix build with LLVM 16

Silence a warning about an incompatible function pointer type to fix
the build on 14-CURRENT.  This warning is harmless: the function pointer
takes a const argument, but was assigned to where a pointer taking an
unqualified argument was expected.

Reported by:	fallout
2023Q3
Robert Clausecker 2023-06-25 16:25:09 +02:00
parent 676a465257
commit daafa4e5ea
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ GH_ACCOUNT= grimfang4
GH_PROJECT= sdl-gpu
CMAKE_ON= USE_SYSTEM_GLEW DYNAMIC_GLES_3
CFLAGS+= -Wno-incompatible-function-pointer-types
OPTIONS_DEFINE= DOCS
DOCS_CMAKE_BOOL= BUILD_DOCS