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