Merge pull request #192 from halx99/fix-gl-error-502

Fix GL renderer backend API updateCompressedSubData incorrect
This commit is contained in:
HALX99 2020-09-03 03:46:16 -07:00 committed by GitHub
commit 047bcae9ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();