]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Use BGRA >_>
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 27 Nov 2007 22:53:42 +0000 (22:53 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 27 Nov 2007 22:53:42 +0000 (22:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7720 d7cf8633-e32d-0410-b094-e92efae38249

cl_gecko.c

index 8c6fafd4944ac30e83c8c4f58d57a4fd08142e26..749130578fc2c24c17078d0c8b0a8816a7032f38 100644 (file)
@@ -68,7 +68,7 @@ static void cl_gecko_updatecallback( rtexture_t *texture, clgecko_t *instance )
 \r
 static void cl_gecko_linktexture( clgecko_t *instance ) {\r
        // TODO: assert that instance->texture == NULL\r
-       instance->texture = R_LoadTexture2D( cl_geckotexturepool, instance->name, DEFAULT_GECKO_WIDTH, DEFAULT_GECKO_HEIGHT, NULL, TEXTYPE_RGBA, TEXF_ALPHA, NULL );\r
+       instance->texture = R_LoadTexture2D( cl_geckotexturepool, instance->name, DEFAULT_GECKO_WIDTH, DEFAULT_GECKO_HEIGHT, NULL, TEXTYPE_BGRA, TEXF_ALPHA, NULL );\r
        R_MakeTextureDynamic( instance->texture, cl_gecko_updatecallback, instance );\r
        CL_LinkDynTexture( instance->name, instance->texture );\r
 }\r