Fix copy-paste error for int case in GL pixel history

This commit is contained in:
baldurk
2026-08-24 17:04:14 +01:00
parent 85075565cd
commit 4db49e2c6b
+1 -1
View File
@@ -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());