added glshim library

This commit is contained in:
lubomyr
2015-02-09 20:25:03 +00:00
parent e5e9109652
commit 967c18296e
143 changed files with 231962 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#include "gl_str.h"
int main() {
#define check(func, name) assert(strcmp(func(name), #name) == 0);
check(gl_str_primitive, GL_QUADS);
check(gl_str, GL_FLOAT);
check(gl_bits_glPushClientAttrib, GL_CLIENT_ALL_ATTRIB_BITS);
check(gl_bits_glPushAttrib, GL_CURRENT_BIT | GL_POINT_BIT);
mock_return;
}