hedgewars/uStore.pas
changeset 10870 5efea5942475
parent 10869 f23763bbac1b
child 11046 47a8c19ecb60
child 11086 95f97c4d154c
equal deleted inserted replaced
10869:f23763bbac1b 10870:5efea5942475
  1021     // we do not need a window, but without this call OpenGL will not initialize
  1021     // we do not need a window, but without this call OpenGL will not initialize
  1022     glutCreateWindow('hedgewars video rendering (glut hidden window)');
  1022     glutCreateWindow('hedgewars video rendering (glut hidden window)');
  1023     glutHideWindow();
  1023     glutHideWindow();
  1024     // we do not need to set this callback, but it is required for GLUT3 compat
  1024     // we do not need to set this callback, but it is required for GLUT3 compat
  1025     glutDisplayFunc(@SwapBuffers);
  1025     glutDisplayFunc(@SwapBuffers);
  1026     RenderSetup();
  1026     RendererSetup();
  1027 end;
  1027 end;
  1028 {$ENDIF} // SDL2
  1028 {$ENDIF} // SDL2
  1029 {$ENDIF} // USE_VIDEO_RECORDING
  1029 {$ENDIF} // USE_VIDEO_RECORDING
  1030 
  1030 
  1031 procedure chFullScr(var s: shortstring);
  1031 procedure chFullScr(var s: shortstring);