ROOT
v6-38
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
#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 39, 00)
22
#error "The TGLWSIncludes.h header was removed from ROOT in v6.40"
23
#elif !defined(_ROOT_GL_BUILDS_ITSELF) and !defined(_WIN32)
24
#warning "The TGLWSIncludes.h header is deprecated and will be removed in ROOT 6.40"
25
#endif
26
27
#include "RConfigure.h"
28
#include "TGLIncludes.h"
29
30
#if defined(WIN32)
31
# include <GL/wglew.h>
32
#else
33
# if defined(__APPLE__) && !defined(R__HAS_COCOA)
34
# define GLEW_APPLE_GLX
35
# endif
36
# if !defined(R__HAS_COCOA)
37
# include <GL/glxew.h>
38
# endif
39
#endif
40
41
#endif
RVersion.h
graf3d
gl
inc
TGLWSIncludes.h
ROOT v6-38 - Reference Guide Generated on Sat Nov 22 2025 03:35:21 (GVA Time) using Doxygen 1.10.0