]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
scr_loadingscreen_background: fix double-applied gamma.
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Sep 2012 09:42:43 +0000 (09:42 +0000)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Sep 2012 09:42:43 +0000 (09:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11850 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index dfc556187ece9948d970244709d5f7f938e2275f..b5b974ff9ec0ad9609a4d6304a7ca7c32ea2cb71 100644 (file)
@@ -2115,7 +2115,7 @@ static void SCR_DrawLoadingScreen (qboolean clear)
        if(loadingscreentexture)
        {
                R_Mesh_PrepareVertices_Generic_Arrays(4, loadingscreentexture_vertex3f, NULL, loadingscreentexture_texcoord2f);
-               R_SetupShader_Generic(loadingscreentexture, NULL, GL_MODULATE, 1, true, true, true);
+               R_SetupShader_Generic(loadingscreentexture, NULL, GL_MODULATE, 1, false, true, true);
                R_Mesh_Draw(0, 4, 0, 2, polygonelement3i, NULL, 0, polygonelement3s, NULL, 0);
        }
        R_Mesh_PrepareVertices_Generic_Arrays(4, loadingscreenpic_vertex3f, NULL, loadingscreenpic_texcoord2f);