summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-01-28 22:36:29 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-01-28 22:36:29 +0100
commit75182acf727092775ff5f94d4a42799cafa2bff7 (patch)
tree54949e0743089c42aa0befb037fd68f0a7092069
parentf84b25fc8e0619ad24974c4dc520449827f8d193 (diff)
Fixed format in Image.
-rw-r--r--image.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/image.cpp b/image.cpp
index db385db..a3d0d6a 100644
--- a/image.cpp
+++ b/image.cpp
@@ -25,7 +25,6 @@ void Image::load(const std::string& filename) {
width = w;
height = h;
- unsigned int format;
if(ch == 4) {
format = GL_RGBA;
} else {