Silence a warning about a change of sign.
GLuint is, like the name says, unsigned. To store -1 in it, a change of sign happens. Silence the warning by casting the -1 to GLuint first. Change-Id: I165a32c486358a60f7c5fd0c439204ed2f9f7f16 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
parent
b8625fd70e
commit
f49f94434e
@ -199,7 +199,7 @@ public:
|
|||||||
void updateBrushUniforms();
|
void updateBrushUniforms();
|
||||||
void updateMatrix();
|
void updateMatrix();
|
||||||
void updateCompositionMode();
|
void updateCompositionMode();
|
||||||
void updateTextureFilter(GLenum target, GLenum wrapMode, bool smoothPixmapTransform, GLuint id = -1);
|
void updateTextureFilter(GLenum target, GLenum wrapMode, bool smoothPixmapTransform, GLuint id = GLuint(-1));
|
||||||
|
|
||||||
void resetGLState();
|
void resetGLState();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user