[Libreoffice-commits] core.git: vcl/inc
Stephan Bergmann
sbergman at redhat.com
Mon May 2 09:20:13 UTC 2016
vcl/inc/opengl/RenderState.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6943396614bb223e05a9de36e7bbc955ed8e6492
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon May 2 11:19:47 2016 +0200
Simply use implicit conversion from GLboolean to bool
Change-Id: Ic758f578d44f8c3fef71ff8ed6ff710c4f1458b0
diff --git a/vcl/inc/opengl/RenderState.hxx b/vcl/inc/opengl/RenderState.hxx
index 7f79f51..3d4af76 100644
--- a/vcl/inc/opengl/RenderState.hxx
+++ b/vcl/inc/opengl/RenderState.hxx
@@ -21,7 +21,7 @@ protected:
static bool readState()
{
- return (glIsEnabled(ENUM_TYPE) == static_cast<GLboolean>(GL_TRUE));
+ return glIsEnabled(ENUM_TYPE);
}
public:
More information about the Libreoffice-commits
mailing list