This commit is contained in:
Alug committed 2025-07-05 15:51:30 +02:00
1 parent 2aa5324225
commit fe5a0b7c64
1 file changed
+1 -1
+1 -1
View File
@@ -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;