Browse Source

external: cleaned up flextGL template files.

We don't use deprecated functionality anyway (resulted in no changes of
generated files whatsoever).
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
17cf1da987
  1. 2
      src/MagnumExternal/OpenGL/GL/flextGL.cpp.template
  2. 2
      src/MagnumExternal/OpenGL/GL/flextGL.h.template
  3. 2
      src/MagnumExternal/OpenGL/GL/flextGLPlatform.cpp.template

2
src/MagnumExternal/OpenGL/GL/flextGL.cpp.template vendored

@ -5,7 +5,7 @@
extern "C" {
#endif
@for category,funcs in functions:
@if len(funcs) > 0 and category not in ['VERSION_1_0', 'VERSION_1_1','VERSION_1_0_DEPRECATED', 'VERSION_1_1_DEPRECATED' ]:
@if len(funcs) > 0 and category not in ['VERSION_1_0', 'VERSION_1_1']:
/* GL_@category */
@for f in funcs:

2
src/MagnumExternal/OpenGL/GL/flextGL.h.template vendored

@ -79,7 +79,7 @@ void flextGLInit();
/* GL_@cat */
@if cat in ['VERSION_1_0', 'VERSION_1_1','VERSION_1_0_DEPRECATED', 'VERSION_1_1_DEPRECATED']:
@if cat in ['VERSION_1_0', 'VERSION_1_1']:
@for f in funcs:
GLAPI FLEXTGL_EXPORT @f.returntype APIENTRY gl@f.name\
(@f.param_type_list_string());

2
src/MagnumExternal/OpenGL/GL/flextGLPlatform.cpp.template vendored

@ -9,7 +9,7 @@
void flextGLInit() {
Magnum::Platform::Implementation::OpenGLFunctionLoader loader;
@for category,funcs in functions:
@if category not in ['VERSION_1_0', 'VERSION_1_1','VERSION_1_0_DEPRECATED', 'VERSION_1_1_DEPRECATED']:
@if category not in ['VERSION_1_0', 'VERSION_1_1']:
/* GL_@category */
@for f in funcs:

Loading…
Cancel
Save