Skip to content

Instantly share code, notes, and snippets.

__GL_THREADED_OPTIMIZATION=1 __GL_ExtensionStringVersion=17700 PROTON_NO_D3D11=1 PROTON_NO_D3D10=1 %command% +set sv_pure 0 +set fs_game ey4
$ make
Scanning dependencies of target SDL
[ 25%] Building C object CMakeFiles/SDL.dir/src/SDL12_compat.c.o
[ 50%] Linking C shared library libSDL-1.2.so
[ 50%] Built target SDL
Scanning dependencies of target testsprite
[ 75%] Building C object CMakeFiles/testsprite.dir/test/testsprite.c.o
/home/rifat/İndirilenler/sdl12-compat/test/testsprite.c: In function ‘LoadSprite’:
/home/rifat/İndirilenler/sdl12-compat/test/testsprite.c:44:28: error: ‘SDL_SRCCOLORKEY’ undeclared (first use in this function); did you mean ‘SDL_SCANCODE_Y’?
SDL_SetColorKey(sprite, (SDL_SRCCOLORKEY|SDL_RLEACCEL),