]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Refactored VID_CheckExtensions and GL_Init to GL_Setup.
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Aug 2018 21:19:01 +0000 (21:19 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Aug 2018 21:19:01 +0000 (21:19 +0000)
commit636956788854b1ec1a0c0a5ad54c67f98c34255f
treec3b3cdfb0c77c11a38a54c84ff0240f97c5e9e69
parent371dd80226347111360c8222a17d1c3d6fc26c72
Refactored VID_CheckExtensions and GL_Init to GL_Setup.

GL_Setup now fetches all GL functions at the start and then verifies extensions after that, and it uses SDL_GL_ExtensionSupported as it should.

Removed a bunch of commandline flags like -noshadow that no longer do anything since we assume GL3.2 features.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12455 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
glquake.h
vid.h
vid_sdl.c
vid_shared.c