summaryrefslogtreecommitdiff
path: root/lib/glbase.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/glbase.cc')
-rw-r--r--lib/glbase.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/glbase.cc b/lib/glbase.cc
index 89b849a..922a263 100644
--- a/lib/glbase.cc
+++ b/lib/glbase.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: glbase.cc,v 1.23 2006-02-02 17:29:05 pixel Exp $ */
+/* $Id: glbase.cc,v 1.24 2006-10-28 16:50:46 pixel Exp $ */
#include <stdio.h>
#include <SDL.h>
@@ -220,10 +220,10 @@ inline static unsigned int nextpower(unsigned int n) {
}
}
-mogltk::texture * mogltk::glbase::GrabTexture() {
+mogltk::Texture * mogltk::glbase::GrabTexture() {
int w = nextpower(GetWidth());
int h = nextpower(GetHeight());
- texture * r = new texture(w, h);
+ Texture * r = new Texture(w, h);
r->name = "Texture grabbed.";
SDL_Surface * t;