mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-08 14:55:41 +00:00
Fix copy-paste error for int case in GL pixel history
This commit is contained in:
@@ -1051,7 +1051,7 @@ void readPixelValues(WrappedOpenGL *driver, const GLPixelHistoryResources &resou
|
||||
driver->glReadPixels(0, 0, GLint(numPixels), 1, eGL_RGBA_INTEGER, eGL_UNSIGNED_INT,
|
||||
(void *)intColourValues.data());
|
||||
}
|
||||
else if(colourFormatType == eGL_UNSIGNED_INT)
|
||||
else if(colourFormatType == eGL_INT)
|
||||
{
|
||||
driver->glReadPixels(0, 0, GLint(numPixels), 1, eGL_RGBA_INTEGER, eGL_INT,
|
||||
(void *)intColourValues.data());
|
||||
|
||||
Reference in New Issue
Block a user