diff --git a/src/gl/data/gl_viewpointbuffer.h b/src/gl/data/gl_viewpointbuffer.h index 3ec1093df5..08c1cab0c9 100644 --- a/src/gl/data/gl_viewpointbuffer.h +++ b/src/gl/data/gl_viewpointbuffer.h @@ -14,7 +14,7 @@ class GLViewpointBuffer void * mBufferPointer; TArray mClipPlaneInfo; - unsigned int m2DWidth = ~0u, m2DHeight = ~0u; + int m2DWidth = -1, m2DHeight = -1; unsigned int mBlockSize;