aboutsummaryrefslogtreecommitdiff
path: root/src/gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl.c')
-rw-r--r--src/gl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gl.c b/src/gl.c
index a06f75a..45280f1 100644
--- a/src/gl.c
+++ b/src/gl.c
@@ -1,6 +1,6 @@
#include "../include/mgl/gl.h"
#include <dlfcn.h>
-/*#include <GL/gl.h>*/
+#include <GL/gl.h>
#include <stdio.h>
typedef struct {
@@ -48,9 +48,8 @@ int mgl_gl_load(mgl_gl *self) {
{ &self->glHint, "glHint" },
{ &self->glBegin, "glBegin" },
{ &self->glEnd, "glEnd" },
- { &self->glColor3f, "glColor3f" },
{ &self->glVertex3f, "glVertex3f" },
- { &self->glColor4f, "glColor4f" },
+ { &self->glColor4ub, "glColor4ub" },
{ &self->glTexCoord2f, "glTexCoord2f" },
{ &self->glOrtho, "glOrtho" },
{ &self->glMatrixMode, "glMatrixMode" },