fix alignment when magnifying

This commit is contained in:
Chris Danford
2004-08-09 07:32:49 +00:00
parent 71186e34ec
commit f5d7d915ab
2 changed files with 18 additions and 1 deletions
+1
View File
@@ -827,6 +827,7 @@ RageSurface* RageDisplay_OGL::CreateScreenshot()
glReadPixels(0, 0, wind->GetVideoModeParams().width, wind->GetVideoModeParams().height, GL_RGBA,
GL_UNSIGNED_BYTE, image->pixels);
AssertNoGLError();
// flip vertically
int pitch = image->pitch;