From c2ef42c3df84e3b86dd8623dd7d4e74d33c39940 Mon Sep 17 00:00:00 2001 From: black Date: Tue, 27 Nov 2007 22:53:42 +0000 Subject: [PATCH] Use BGRA >_> git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7720 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_gecko.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_gecko.c b/cl_gecko.c index 8c6fafd4..74913057 100644 --- a/cl_gecko.c +++ b/cl_gecko.c @@ -68,7 +68,7 @@ static void cl_gecko_updatecallback( rtexture_t *texture, clgecko_t *instance ) static void cl_gecko_linktexture( clgecko_t *instance ) { // TODO: assert that instance->texture == NULL - instance->texture = R_LoadTexture2D( cl_geckotexturepool, instance->name, DEFAULT_GECKO_WIDTH, DEFAULT_GECKO_HEIGHT, NULL, TEXTYPE_RGBA, TEXF_ALPHA, NULL ); + instance->texture = R_LoadTexture2D( cl_geckotexturepool, instance->name, DEFAULT_GECKO_WIDTH, DEFAULT_GECKO_HEIGHT, NULL, TEXTYPE_BGRA, TEXF_ALPHA, NULL ); R_MakeTextureDynamic( instance->texture, cl_gecko_updatecallback, instance ); CL_LinkDynTexture( instance->name, instance->texture ); } -- 2.39.2