diff options
author | pixel <pixel> | 2004-06-20 23:51:59 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-06-20 23:51:59 +0000 |
commit | bf452e7f6a3fa0e41964fc8e2c57e1e577cd1682 (patch) | |
tree | da2c9b920514d4f7b853cf92ee4050720261dde6 /lib/glbase.cc | |
parent | b009a6451b7560ba1e0064303deede287c381963 (diff) |
Put some modifications in the overall. Font to texture doesn't work though.
Diffstat (limited to 'lib/glbase.cc')
-rw-r--r-- | lib/glbase.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/glbase.cc b/lib/glbase.cc index ebbfe08..3d89644 100644 --- a/lib/glbase.cc +++ b/lib/glbase.cc @@ -16,7 +16,7 @@ mogltk::glbase::glbase(int w, int h, int flags) throw (GeneralException) : moglt throw GeneralException(String("Couldn't initialise Video SubSystem: ") + SDL_GetError()); } - if (!(surface = SDL_SetVideoMode(w, h, 0, flags | SDL_OPENGL))) { + if (!(surface = SDL_SetVideoMode(w, h, 0, flags | SDL_OPENGL | SDL_HWSURFACE))) { throw GeneralException(String("Couldn't set GL mode: ") + SDL_GetError()); } |