From fe5a0b7c64c6dedbcb19310224f686bd5d0f7a65 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 5 Jul 2025 15:36:27 +0200 Subject: [PATCH] GL_ --- src/hardware/r_opengl/r_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index 12d46942d..497b1b08a 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -1916,7 +1916,7 @@ void GL_UpdateTexture(GLMipmap_t *pTexInfo) // However, it does need to be copied to a buffer for generating mipmaps and padding if (MipMap || applyPadding) { - AllocTextureBuffer(pTexInfo); + GL_AllocTextureBuffer(pTexInfo); tex = textureBuffer; memcpy(tex, ptex, w * h * 4); ptex = tex;