00001 // @(#)root/gl:$Id: TGLWSIncludes.h 36706 2010-11-16 18:48:09Z matevz $ 00002 // Authors: Timur and Matevz, May 2008 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 // Window-system specific GL includes. 00013 // Inclusion should only be necessary in in low-level system files. 00014 00015 #ifndef ROOT_TGLWSIncludes 00016 00017 #include "TGLIncludes.h" 00018 00019 #if defined(WIN32) 00020 # include <GL/wglew.h> 00021 #else 00022 # if defined(__APPLE__) 00023 # define GLEW_APPLE_GLX 00024 # endif 00025 # include <GL/glxew.h> 00026 #endif 00027 00028 #endif