diff options
Diffstat (limited to 'src/gl.c')
-rw-r--r-- | src/gl.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" }, |