diff options
Diffstat (limited to 'gpu/demos/framework/pepper.cc')
-rw-r--r-- | gpu/demos/framework/pepper.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gpu/demos/framework/pepper.cc b/gpu/demos/framework/pepper.cc index 462679e..9dbbb74 100644 --- a/gpu/demos/framework/pepper.cc +++ b/gpu/demos/framework/pepper.cc @@ -127,7 +127,7 @@ class PluginModule : public pp::Module { } virtual bool Init() { - return glInitializePPAPI(get_browser_interface()) == GL_TRUE ? true : false; + return (glInitializePPAPI(get_browser_interface()) == GL_TRUE); } virtual pp::Instance* CreateInstance(PP_Instance instance) { @@ -145,4 +145,3 @@ Module* CreateModule() { } } // namespace pp - |