mojoshader_opengl.c
branchtrunk
changeset 238 e98f14da2897
parent 237 09f35dfc1d7e
child 241 08f612343cd1
--- a/mojoshader_opengl.c	Mon Apr 28 05:50:02 2008 -0400
+++ b/mojoshader_opengl.c	Mon Apr 28 06:00:37 2008 -0400
@@ -297,7 +297,7 @@
 } // check_extensions
 
 
-MOJOSHADER_glContext *MOJOSHADER_glInit(const char *_profile,
+MOJOSHADER_glContext *MOJOSHADER_glCreateContext(const char *_profile,
                                         void *(*lookup)(const char *fnname),
                                         MOJOSHADER_malloc m, MOJOSHADER_free f,
                                         void *d)
@@ -343,7 +343,7 @@
         f(ctx, d);
     ctx = current_ctx;
     return NULL;
-} // MOJOSHADER_glInit
+} // MOJOSHADER_glCreateContext
 
 
 void MOJOSHADER_glMakeContextCurrent(MOJOSHADER_glContext *_ctx)
@@ -820,7 +820,7 @@
 } // MOJOSHADER_glDeleteShader
 
 
-void MOJOSHADER_glDeinit(MOJOSHADER_glContext *_ctx)
+void MOJOSHADER_glDestroyContext(MOJOSHADER_glContext *_ctx)
 {
     MOJOSHADER_glContext *current_ctx = ctx;
     ctx = _ctx;
@@ -828,7 +828,7 @@
     lookup_entry_points(NULL);
     Free(ctx);
     ctx = ((current_ctx == _ctx) ? NULL : current_ctx);
-} // MOJOSHADER_glDeinit
+} // MOJOSHADER_glDestroyContext
 
 // end of mojoshader_opengl.c ...