Rev | Line | |
---|
[2879] | 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 |
|
---|
[2899] | 25 | static GLenum mrt[] = {GL_COLOR_ATTACHMENT0_EXT, GL_COLOR_ATTACHMENT1_EXT, GL_COLOR_ATTACHMENT2_EXT, GL_COLOR_ATTACHMENT3_EXT};
|
---|
| 26 |
|
---|
| 27 |
|
---|
[2879] | 28 | #endif // GLINTERFACE_H
|
---|
Note: See
TracBrowser
for help on using the repository browser.