From 3695b8c227098a2e1c08d411970d6d737dd9a64c Mon Sep 17 00:00:00 2001 From: kgv Date: Fri, 21 Sep 2012 16:27:23 +0400 Subject: [PATCH] 0023316: OpenGl package can not be compiled on RedHat40-64 OpenGl_Window avoid early unprotected glx.h inclusion which may cause system glext.h inclusion --- src/OpenGl/OpenGl_Window.hxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/OpenGl/OpenGl_Window.hxx b/src/OpenGl/OpenGl_Window.hxx index 783ae5cb41..9cd61e7057 100644 --- a/src/OpenGl/OpenGl_Window.hxx +++ b/src/OpenGl/OpenGl_Window.hxx @@ -17,19 +17,17 @@ // purpose or non-infringement. Please see the License for the specific terms // and conditions governing the rights and limitations under the License. - #ifndef _OpenGl_Window_Header #define _OpenGl_Window_Header -#include -#include - -#include +#include #include -#include -#include #include +#include +#include + +#include //! This class represents low-level wrapper over window with GL context. //! The window itself should be provided to constructor.