ROOT
master
Reference Guide
Loading...
Searching...
No Matches
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 <
RVersion.h
>
// for ROOT_VERSION
18
19
// This header is deprecated according to
20
// https://its.cern.ch/jira/browse/ROOT-9807
21
// In the 6.38 release, our users will get a warning, and then in 6.40 we
22
// remove this header. Conditional on the ROOT version, this header will give
23
// an error on inclusion to remind us to move it. Remove also the
24
// _ROOT_GL_BUILDS_ITSELF definition from the CMakeLists.txt then.
25
#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 38, 00)
26
#error "Header should be moved outside of the public ROOT interface now"
27
#else
28
#ifndef _ROOT_GL_BUILDS_ITSELF
29
#warning "The TGLWSIncludes.h header is deprecated and will be removed in ROOT 6.40"
30
#endif
31
#endif
32
33
34
#include "RConfigure.h"
35
#include "TGLIncludes.h"
36
37
#if defined(WIN32)
38
# include <GL/wglew.h>
39
#else
40
# if defined(__APPLE__) && !defined(R__HAS_COCOA)
41
# define GLEW_APPLE_GLX
42
# endif
43
# if !defined(R__HAS_COCOA)
44
# include <GL/glxew.h>
45
# endif
46
#endif
47
48
#endif
RVersion.h
graf3d
gl
inc
TGLWSIncludes.h
ROOT master - Reference Guide Generated on Thu Sep 4 2025 04:29:17 (GVA Time) using Doxygen 1.10.0