Kaydet (Commit) 69433966 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Simply use implicit conversion from GLboolean to bool

Change-Id: Ic758f578d44f8c3fef71ff8ed6ff710c4f1458b0
üst 583cfc97
......@@ -21,7 +21,7 @@ protected:
static bool readState()
{
return (glIsEnabled(ENUM_TYPE) == static_cast<GLboolean>(GL_TRUE));
return glIsEnabled(ENUM_TYPE);
}
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment