X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=gl_draw.c;h=b1b330f8041e46eb2faf1252b40225c045e7abcf;hb=86084b10a110d8398e08c28223327ba07757f649;hp=9850142f6bdbbac40454ea474f544a7a2dcefd45;hpb=d8742b10c4cda0a0f31a6a0a2325d7bcab0d791b;p=xonotic%2Fdarkplaces.git diff --git a/gl_draw.c b/gl_draw.c index 9850142f..b1b330f8 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -53,7 +53,7 @@ static cachepic_t *cachepichash[CACHEPICHASHSIZE]; static cachepic_t cachepics[MAX_CACHED_PICS]; static int numcachepics; -static rtexturepool_t *drawtexturepool; +rtexturepool_t *drawtexturepool; static const unsigned char concharimage[FONT_FILESIZE] = { @@ -1721,7 +1721,7 @@ float DrawQ_String_Scale(float startx, float starty, const char *text, size_t ma break; } } - R_SetupShader_Generic(map->texture, NULL, GL_MODULATE, 1); + R_SetupShader_Generic(map->pic->tex, NULL, GL_MODULATE, 1); } mapch = ch - map->start;