mirror of https://github.com/axmolengine/axmol.git
Merge pull request #192 from halx99/fix-gl-error-502
Fix GL renderer backend API updateCompressedSubData incorrect
This commit is contained in:
commit
047bcae9ea
|
@ -284,7 +284,7 @@ void Texture2DGL::updateCompressedSubData(std::size_t xoffset, std::size_t yoffs
|
||||||
yoffset,
|
yoffset,
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
_textureInfo.format,
|
_textureInfo.internalFormat,
|
||||||
dataLen,
|
dataLen,
|
||||||
data);
|
data);
|
||||||
CHECK_GL_ERROR_DEBUG();
|
CHECK_GL_ERROR_DEBUG();
|
||||||
|
|
Loading…
Reference in New Issue