author | sheepluva |
Sun, 09 Aug 2015 00:49:49 +0200 | |
changeset 11041 | 598fa14a3a1a |
parent 11040 | 3ab93d702fb1 |
child 11042 | d29a05a55bbc |
--- a/hedgewars/uMisc.pas Sun Aug 09 00:25:35 2015 +0200 +++ b/hedgewars/uMisc.pas Sun Aug 09 00:49:49 2015 +0200 @@ -250,7 +250,7 @@ exit; end; -// read pixels from the front buffer +// read pixels from land array if dump > 0 then begin for y:= 0 to LAND_HEIGHT-1 do @@ -274,6 +274,7 @@ end end else +// read pixels from the front buffer begin glReadPixels(0, 0, cScreenWidth, cScreenHeight, format, GL_UNSIGNED_BYTE, p); {$IFDEF USE_VIDEO_RECORDING}