summaryrefslogtreecommitdiff
path: root/lib/texture.cc
diff options
context:
space:
mode:
authorpixel <pixel>2004-07-13 06:20:33 +0000
committerpixel <pixel>2004-07-13 06:20:33 +0000
commit652aa99bd5fddbb4ee878ddd65ac637a134dbcbc (patch)
tree84c0c8f8bbb943a570d4e6d245f7410633c0fb42 /lib/texture.cc
parentbaac659433417ee555e3e04a28ea6c06fa23d588 (diff)
Fixed font bug + adding fixed font
Diffstat (limited to 'lib/texture.cc')
-rw-r--r--lib/texture.cc2
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);