From b380fc3aeb3d0e5d5c2b6cfd69d82c85c21999c7 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 13 Apr 2009 00:35:51 +0000 Subject: [PATCH] fix use of r_main_texturepool (it's a pointer, but this file imported it as a struct) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8917 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_screen.c b/cl_screen.c index 0896ee56..12426fd8 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -1634,7 +1634,7 @@ static void SCR_ClearLoadingScreenTexture() loadingscreentexture = NULL; } -extern rtexturepool_t r_main_texturepool; +extern rtexturepool_t *r_main_texturepool; static void SCR_SetLoadingScreenTexture() { int w, h; @@ -1655,7 +1655,7 @@ static void SCR_SetLoadingScreenTexture() loadingscreentexture_h = vid.height / (float) h; } - loadingscreentexture = R_LoadTexture2D(&r_main_texturepool, "loadingscreentexture", w, h, NULL, TEXTYPE_BGRA, TEXF_FORCENEAREST | TEXF_CLAMP | TEXF_ALWAYSPRECACHE, NULL); + loadingscreentexture = R_LoadTexture2D(r_main_texturepool, "loadingscreentexture", w, h, NULL, TEXTYPE_BGRA, TEXF_FORCENEAREST | TEXF_CLAMP | TEXF_ALWAYSPRECACHE, NULL); R_Mesh_TexBind(0, R_GetTexture(loadingscreentexture)); GL_ActiveTexture(0); CHECKGLERROR -- 2.39.2