summaryrefslogtreecommitdiff
path: root/glew/auto/src/glew_str_head.c
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2024-04-09 03:14:17 -0400
committersotech117 <michael_foiani@brown.edu>2024-04-09 03:14:17 -0400
commit7a8d0d8bc2572707c9d35006f30ea835c86954b0 (patch)
treededb9a65c1698202ad485378b4186b667008abe5 /glew/auto/src/glew_str_head.c
parent818324678bd5dca790c57048e5012d2937a4b5e5 (diff)
first draft to generate waves
Diffstat (limited to 'glew/auto/src/glew_str_head.c')
-rw-r--r--glew/auto/src/glew_str_head.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/glew/auto/src/glew_str_head.c b/glew/auto/src/glew_str_head.c
new file mode 100644
index 0000000..fed3a0f
--- /dev/null
+++ b/glew/auto/src/glew_str_head.c
@@ -0,0 +1,9 @@
+GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
+{
+ const GLubyte* pos = (const GLubyte*)name;
+ GLuint len = _glewStrLen(pos);
+ GLboolean ret = GL_TRUE;
+ while (ret && len > 0)
+ {
+ if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
+ {