source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/glInterface.h @ 2976

Revision 2976, 789 bytes checked in by mattausch, 16 years ago (diff)

cannot read mipmap, but stayed on gpu

Line 
1//Copyright and Disclaimer:
2//This code is copyright Vienna University of Technology, 2004.
3
4#ifndef NO_PRAGMA_ONCE
5#pragma once
6#endif
7
8#ifndef GLINTERFACE_H
9#define GLINTERFACE_H
10
11//includes an openGL extension header file
12//http://glew.sourceforge.net/
13#include "GL/glew.h"
14//includes the glut header file
15#include "GL/glut.h"
16
17//includes  windows specific stuff
18#ifdef _WIN32
19        #include "GL/wglew.h"
20#else
21//include linux specific stuff
22        #include "GL/glxew.h"
23#endif 
24
25static GLenum mrt[] =
26{GL_COLOR_ATTACHMENT0_EXT, GL_COLOR_ATTACHMENT1_EXT, GL_COLOR_ATTACHMENT2_EXT, GL_COLOR_ATTACHMENT3_EXT};
27
28static GLenum mrt2[] =
29{GL_COLOR_ATTACHMENT3_EXT, GL_COLOR_ATTACHMENT1_EXT, GL_COLOR_ATTACHMENT2_EXT, GL_COLOR_ATTACHMENT0_EXT};
30
31
32#endif // GLINTERFACE_H
Note: See TracBrowser for help on using the repository browser.