Fix GL renderer backend API updateCompressedSubData will cause OpenGL 502 error

This commit is contained in:
halx99 2020-09-03 18:03:43 +08:00
parent 7a2f91e514
commit b3361b6d70
1 changed files with 1 additions and 1 deletions

View File

@ -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();