equal
deleted
inserted
replaced
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); |