diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-03 10:40:28 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-02-03 18:28:03 +0100 |
commit | b07d8579594bc5e792118091c6da16cd25c5901d (patch) | |
tree | f6bfef83743d84ecbc5c7652899c90e49491749c /chart2 | |
parent | 142c98c0dc861e647ff828f2acebab33dd57b026 (diff) |
small clean up in the direction of Mac support
Change-Id: I0f494db288ef0cd5d79cac82dab9088ffedff767
Diffstat (limited to 'chart2')
-rwxr-xr-x | chart2/source/view/main/OpenGLRender.hxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/chart2/source/view/main/OpenGLRender.hxx b/chart2/source/view/main/OpenGLRender.hxx index 4b717d80bede..fd06fdec4cb4 100755 --- a/chart2/source/view/main/OpenGLRender.hxx +++ b/chart2/source/view/main/OpenGLRender.hxx @@ -7,17 +7,13 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <com/sun/star/drawing/XDrawPage.hpp> -#include <vcl/font.hxx> - #if defined( MACOSX ) #elif defined( UNX ) +#if defined( UNX ) #include <prex.h> #include "GL/glxew.h" #include <postx.h> -#endif - -#if defined( _WIN32 ) +#elif defined( _WIN32 ) #include "prewin.h" #include "windows.h" #include "postwin.h" @@ -36,17 +32,16 @@ #include <vcl/sysdata.hxx> #include <vcl/bitmapex.hxx> #include <com/sun/star/drawing/HomogenMatrix3.hpp> +#include <com/sun/star/drawing/XDrawPage.hpp> +#include <vcl/font.hxx> + #if defined( _WIN32 ) -#include <GL/glu.h> #include <GL/glext.h> #include <GL/wglext.h> #elif defined( MACOSX ) #elif defined( UNX ) - -#include <GL/glu.h> #include <GL/glext.h> - #define GLX_GLXEXT_PROTOTYPES 1 #include <GL/glx.h> #include <GL/glxext.h> |