mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
463 B
21 lines
463 B
|
12 years ago
|
@require(passthru, functions, enums, options, version, extensions)
|
||
|
|
#include "flextGL.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
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' ]:
|
||
|
|
|
||
|
|
/* GL_@category */
|
||
|
|
@for f in funcs:
|
||
|
|
FLEXTGL_EXPORT @f.returntype\
|
||
|
|
(APIENTRY *flextgl@f.name)(@f.param_type_list_string()) = nullptr;
|
||
|
|
@end
|
||
|
|
@end
|
||
|
|
@end
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|