GL_
This commit is contained in:
1 parent
2aa5324225
commit
fe5a0b7c64
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user