project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 4939 6d512ba87f72
parent 4935 27fb500dd6b1
child 4976 088d40d8aba2
--- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Wed Feb 09 23:26:01 2011 -0500
+++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Fri Feb 11 00:15:11 2011 +0100
@@ -237,7 +237,7 @@
     GLubyte *buffer_flipped = (GLubyte *) malloc(size * sizeof(GLubyte));
 
     glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
-
+    HW_screenshot();
     // flip the data as glReadPixels here reads upside down
     for(int y = 0; y <height; y++)
         for(int x = 0; x <width * 4; x++)