You.i Engine
YiGLPlaceholderDefines.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_GL_PLACEHOLDER_DEFINES_H_
3 #define _YI_GL_PLACEHOLDER_DEFINES_H_
4 #if defined(YI_NO_DYNAMIC_LOADING)
5 // The internal OpenGL implementation uses run-time version checks.
6 // When using the platform OpenGL directly these defines are required for compilation purposes only.
7 #define glGetTexLevelParameteriv(w,x,y,z) YI_UNUSED(w); YI_UNUSED(x); YI_UNUSED(y); YI_UNUSED(z);
8 #define glGetStringi(x,y) ""; YI_UNUSED(x); YI_UNUSED(y);
9 
10 #define GL_TEXTURE_WIDTH 0
11 #define GL_TEXTURE_HEIGHT 0
12 #define GL_STACK_OVERFLOW 0x0503
13 #define GL_STACK_UNDERFLOW 0x0504
14 #define GL_NUM_EXTENSIONS 0
15 #define GL_BGRA 0x80E1
16 #define GL_DEPTH_STENCIL 0x84F9
17 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
18 #define GL_DEPTH24_STENCIL8 0x88F0
19 #define GL_UNSIGNED_INT_24_8 0x84FA
20 
21 #endif
22 #endif /* _YI_GL_PLACEHOLDER_DEFINES_H_ */