diff options
Diffstat (limited to 'lib/base.cc')
| -rw-r--r-- | lib/base.cc | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/lib/base.cc b/lib/base.cc index db0e77f..a9d31a5 100644 --- a/lib/base.cc +++ b/lib/base.cc @@ -17,7 +17,7 @@   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   */ -/* $Id: base.cc,v 1.16 2006-02-02 17:29:05 pixel Exp $ */ +/* $Id: base.cc,v 1.17 2006-10-28 16:50:46 pixel Exp $ */  #include <stdio.h>  #include <SDL.h> @@ -125,7 +125,7 @@ void mogltk::base::ToggleFullscreen() {      else          newflags |= SDL_FULLSCREEN; -    texture::Taintall(); +    Texture::Taintall();      surface = SDL_SetVideoMode(surface->w, surface->h, surface->format->BitsPerPixel,          SDL_HWSURFACE | newflags); @@ -147,11 +147,11 @@ inline static unsigned int nextpower(unsigned int n) {      }  } -mogltk::texture * mogltk::base::GrabTexture() { +mogltk::Texture * mogltk::base::GrabTexture() {      int w = nextpower(GetWidth());      int h = nextpower(GetHeight()); -    texture * r = new texture(w, h); -    r->name = "texture grabbed"; +    Texture * r = new Texture(w, h); +    r->name = "Texture grabbed";      SDL_BlitSurface(getsurface(), NULL, r->GetSurface(), NULL); | 
