Logo ROOT   6.08/07
Reference Guide
TGLWSIncludes.h
Go to the documentation of this file.
1 // @(#)root/gl:$Id$
2 // Authors: Timur and Matevz, May 2008
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 // Window-system specific GL includes.
13 // Inclusion should only be necessary in in low-level system files.
14 
15 #ifndef ROOT_TGLWSIncludes
16 
17 #include "RConfigure.h"
18 #include "TGLIncludes.h"
19 
20 #if defined(WIN32)
21 # include <GL/wglew.h>
22 #else
23 # if defined(__APPLE__) && !defined(R__HAS_COCOA)
24 # define GLEW_APPLE_GLX
25 # endif
26 # if !defined(R__HAS_COCOA)
27 # include <GL/glxew.h>
28 # endif
29 #endif
30 
31 #endif