From fa7665d63e8ae6507018855450fcce24f8b02a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Mar 2013 16:34:20 +0100 Subject: [PATCH] Platform: no need to include GL headers just for GL_TRUE. It is, always was and always will be defined as 1, so why bother. --- src/Platform/NaClApplication.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/NaClApplication.h b/src/Platform/NaClApplication.h index 2508b50bd..d9a30ad32 100644 --- a/src/Platform/NaClApplication.h +++ b/src/Platform/NaClApplication.h @@ -454,7 +454,7 @@ namespace Implementation { } inline bool Init() override { - return glInitializePPAPI(get_browser_interface()) == GL_TRUE; + return glInitializePPAPI(get_browser_interface()); } inline pp::Instance* CreateInstance(PP_Instance instance) {