First try to use framebuffer, instead of auxilary buffer.
On my computer this fixes large resolutions (e.g. 1920x1080)
--- a/hedgewars/uStore.pas Sun Jul 08 13:21:12 2012 +0400
+++ b/hedgewars/uStore.pas Sun Jul 08 13:29:06 2012 +0400
@@ -719,18 +719,18 @@
defaultFrame:= 0;
{$IFDEF USE_VIDEO_RECORDING}
if GameType = gmtRecord then
- begin
- if AuxBufNum > 0 then
+ begin
+ if glLoadExtension('GL_EXT_framebuffer_object') then
+ begin
+ CreateFramebuffer(defaultFrame, depthv, texv);
+ glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, defaultFrame);
+ AddFileLog('Using framebuffer for video recording.');
+ end
+ else if AuxBufNum > 0 then
begin
glDrawBuffer(GL_AUX0);
glReadBuffer(GL_AUX0);
AddFileLog('Using auxilary buffer for video recording.');
- end
- else if glLoadExtension('GL_EXT_framebuffer_object') then
- begin
- CreateFramebuffer(defaultFrame, depthv, texv);
- glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, defaultFrame);
- AddFileLog('Using framebuffer for video recording.');
end
else
begin