|
|
@ -2751,7 +2751,7 @@ void CDriverGL::setWindowSize(uint32 width, uint32 height)
|
|
|
|
setWindowStyle(EWSFullscreen);
|
|
|
|
setWindowStyle(EWSFullscreen);
|
|
|
|
|
|
|
|
|
|
|
|
// set the back buffer manually to match the desired rendering resolution
|
|
|
|
// set the back buffer manually to match the desired rendering resolution
|
|
|
|
GLint dim[2] = { width, height };
|
|
|
|
GLint dim[2] = { (GLint)width, (GLint)height };
|
|
|
|
CGLError error = CGLSetParameter(
|
|
|
|
CGLError error = CGLSetParameter(
|
|
|
|
(CGLContextObj)[_ctx CGLContextObj],
|
|
|
|
(CGLContextObj)[_ctx CGLContextObj],
|
|
|
|
kCGLCPSurfaceBackingSize, dim);
|
|
|
|
kCGLCPSurfaceBackingSize, dim);
|
|
|
|