--- a/hedgewars/uMisc.pas Sat Aug 15 16:23:00 2015 +0300
+++ b/hedgewars/uMisc.pas Thu Sep 03 20:59:48 2015 +0300
@@ -1,6 +1,6 @@
(*
* Hedgewars, a free turn based strategy game
- * Copyright (c) 2004-2014 Andrey Korotaev <unC0Rr@gmail.com>
+ * Copyright (c) 2004-2015 Andrey Korotaev <unC0Rr@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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}