mirror of https://github.com/axmolengine/axmol.git
Fix GL renderer backend API updateCompressedSubData will cause OpenGL 502 error
This commit is contained in:
parent
7a2f91e514
commit
b3361b6d70
|
@ -284,7 +284,7 @@ void Texture2DGL::updateCompressedSubData(std::size_t xoffset, std::size_t yoffs
|
|||
yoffset,
|
||||
width,
|
||||
height,
|
||||
_textureInfo.format,
|
||||
_textureInfo.internalFormat,
|
||||
dataLen,
|
||||
data);
|
||||
CHECK_GL_ERROR_DEBUG();
|
||||
|
|
Loading…
Reference in New Issue