vcl/inc/opengl/RenderState.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6943396614bb223e05a9de36e7bbc955ed8e6492 Author: Stephan Bergmann <sberg...@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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits