From c8eb483c771a4830d21ddd28fa098325b28a5979 Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 7 Dec 2002 01:48:35 +0000 Subject: Grmfl... --- lib/engine.cc | 2 ++ lib/glbase.cc | 2 +- lib/gltexture.cc | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') 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 #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 #include +#include #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)) -- cgit v1.2.3