diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/engine.cc | 2 | ||||
-rw-r--r-- | lib/glbase.cc | 2 | ||||
-rw-r--r-- | lib/gltexture.cc | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/lib/engine.cc b/lib/engine.cc index 919fcb4..6e3f303 100644 --- a/lib/engine.cc +++ b/lib/engine.cc @@ -1,6 +1,8 @@ #include <SDL/SDL.h> #include "engine.h" +#define _(x) x + int mogltk::engine::inited = 0; int mogltk::engine::setup() throw(GeneralException) { diff --git a/lib/glbase.cc b/lib/glbase.cc index 1fb62a5..240b450 100644 --- a/lib/glbase.cc +++ b/lib/glbase.cc @@ -136,7 +136,7 @@ void mogltk::glbase::glVertex(GLint x, GLint y, GLint z, GLint w) { glVertex4i(x, y, z, w); } -void mogltk::glbase::glVertex(GLshort x, GLshort y, GLshort z, GLshot w) { +void mogltk::glbase::glVertex(GLshort x, GLshort y, GLshort z, GLshort w) { glVertex4i(x, y, z, w); } diff --git a/lib/gltexture.cc b/lib/gltexture.cc index 7949cb9..86a5a44 100644 --- a/lib/gltexture.cc +++ b/lib/gltexture.cc @@ -1,7 +1,7 @@ #include <GL/gl.h> #include <GL/glu.h> +#include <generic.h> #include "gltexture.h" -#include "General.h" mogltk::texture::texture(int w, int h, bool plane) throw (GeneralException) : width(w), height(h), planar(plane) { if ((BITCOUNT(w) != 1) || (BITCOUNT(h) != 1)) |