summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-12-01 20:39:42 -0800
committerKenneth Graunke <kenneth@whitecape.org>2010-12-01 20:39:42 -0800
commit1c0cbdab90284e65b41b90bf33323eaa4c477dfe (patch)
treeeeb94d7ba3cc1da1de2d4228aec518a9040cf11a
parentbe26855affd33f1a5458b57ff31dea48b9bf66d8 (diff)
Remove unnecessary glEnable call.
Apparently this is only used for fixed function.
-rwxr-xr-xsrc/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b18b8c9..2b70e56 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -409,8 +409,6 @@ Init(void)
glTexParameteri(GL_TEXTURE_CUBE_MAP,
GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
- glEnable(GL_TEXTURE_CUBE_MAP);
-
load_cube_face(GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT, "map/posx.jpg");
load_cube_face(GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT, "map/posy.jpg");
load_cube_face(GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT, "map/posz.jpg");