diff options
Diffstat (limited to 'lib/texture.cc')
-rw-r--r-- | lib/texture.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/texture.cc b/lib/texture.cc index 42c8f3f..40c02ac 100644 --- a/lib/texture.cc +++ b/lib/texture.cc @@ -130,7 +130,7 @@ inline static unsigned int nextpower(unsigned int n) { } } -mogltk::texture::texture(int x, int y, int w, int h) throw (GeneralException) : width(nextpower(w)), height(nextpower(h)), +mogltk::texture::texture(int x, int y, int w, int h) : width(nextpower(w)), height(nextpower(h)), texture_allocated(true), planar(false), tainted(false), taintable(false) { glGenTextures(1, &tex); glBindTexture(GL_TEXTURE_2D, tex); |