mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Fixed: Compilation with clang
--HG-- branch : develop
This commit is contained in:
parent
0bc80be124
commit
9cdb7446ce
1 changed files with 1 additions and 1 deletions
|
@ -2751,7 +2751,7 @@ void CDriverGL::setWindowSize(uint32 width, uint32 height)
|
|||
setWindowStyle(EWSFullscreen);
|
||||
|
||||
// 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(
|
||||
(CGLContextObj)[_ctx CGLContextObj],
|
||||
kCGLCPSurfaceBackingSize, dim);
|
||||
|
|
Loading…
Reference in a new issue