From: black Date: Tue, 27 Nov 2007 22:53:42 +0000 (+0000) Subject: Use BGRA >_> X-Git-Tag: xonotic-v0.1.0preview~2764 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c2ef42c3df84e3b86dd8623dd7d4e74d33c39940;p=xonotic%2Fdarkplaces.git Use BGRA >_> git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7720 d7cf8633-e32d-0410-b094-e92efae38249 --- 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 ); }