From 8a239b4df7f6d9c3540e83008342ef23bc63a512 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 21 Nov 2011 00:49:44 +0000 Subject: [PATCH] gl: fix long-standing bug where clear color didn't properly set the alpha value. --- src/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.cpp b/src/video.cpp index b7133861..f1a103d7 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -70,7 +70,7 @@ void Video::Setup(ivec2 size) VideoData::saved_viewport = size; #endif - glClearColor(0.1f, 0.2f, 0.3f, 0.0f); + glClearColor(0.1f, 0.2f, 0.3f, 1.0f); glClearDepth(1.0); #if defined HAVE_GL_2X && !defined __APPLE__