summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-10 15:40:02 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-10 15:40:02 +0200
commit7d93cab1eb1629b068858a68ac5e5840fe84a83a (patch)
treefc90eaecc54a03943e4114443ad3d6ad111b9b9a /video.cpp
parent0073f833c88f4a25dadc777495639069ba9d7bed (diff)
Added fog and implemented a simple skybox.
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video.cpp b/video.cpp
index ab9b9d3..29b5bcf 100644
--- a/video.cpp
+++ b/video.cpp
@@ -11,7 +11,7 @@ void video::init() {
surface = SDL_SetVideoMode(width, height, 32, SDL_OPENGL);
- glClearColor(0, 0, 0, 0);
+ glClearColor(1, 1, 1, 0);
glClearDepth(1);
glDepthFunc(GL_LESS);
glEnable(GL_DEPTH_TEST);