Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
glstuff.h
1 #ifndef _glstuff_h_
2 #define _glstuff_h_
3 
4 /**
5 wrapper that asserts compilations with OpenGL AND glew.
6 - Please note that the app. ha sto call glewinit like this:
7 \verbatim
8  if (!(GLEW_VERSION_1_1)) {
9  // init and try again:
10  GLenum result = glewInit();
11  if (result != GLEW_OK){
12  BIASERR("glewInit failed.");
13  };
14  }
15 \endverbatim
16 \attention DEPECATED2006/Mar/10 Replaced by biasgl.h - Jan Woetzel
17 
18 author: Jan Woetzel
19 */
20 
21 #include <bias_config.h>
22 
23 #ifndef BIAS_HAVE_OPENGL
24 # error Please recompile BIAS with USE_OPENGL to use OpenGL.
25 #endif // BIAS_HAVE_OPENGL
26 
27 #ifndef BIAS_HAVE_GLEW
28 # error Please recompile BIAS with USE_GLEW to use GL extension handler GLEW.
29 #endif // BIAS_HAVE_GLEW
30 
31 // new file:
32 #include <Gui/biasgl.h>
33 
34 
35 #endif // _glstuff_h_
36 // DO NOT ADD CODE AFTER THIS LINE