From 3d39d78e5368545c3aded54efb1ea89df7a86e12 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 16 Mar 2019 19:21:32 +0700 Subject: [PATCH] ref: fix hud sprites --- ref_gl/gl_triapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref_gl/gl_triapi.c b/ref_gl/gl_triapi.c index 01ca181d..923fea18 100644 --- a/ref_gl/gl_triapi.c +++ b/ref_gl/gl_triapi.c @@ -237,7 +237,7 @@ int TriSpriteTexture( model_t *pSpriteModel, int frame ) GL_Bind( XASH_TEXTURE0, gl_texturenum ); - return 1; + return gl_texturenum; } /*