- fixed compilation warnings reported by GCC and Clang

src/gl/data/gl_viewpointbuffer.cpp:142:12: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
src/gl/data/gl_viewpointbuffer.cpp:142:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
This commit is contained in:
alexey.lysiuk 2018-10-28 15:59:28 +02:00
parent 649857c80d
commit 49c3ec6a87
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class GLViewpointBuffer
void * mBufferPointer;
TArray<bool> mClipPlaneInfo;
unsigned int m2DWidth = ~0u, m2DHeight = ~0u;
int m2DWidth = -1, m2DHeight = -1;
unsigned int mBlockSize;