From 6856a6651e8394e3fb27e4befb16d729df82bb68 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 17 Oct 2012 19:42:33 +0200 Subject: [PATCH] (RGL) Ifndef glClearColor (if default clear color is always black, then we should remove this) --- gfx/gl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index 305c330c16..96208045b7 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1314,7 +1314,9 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo glDisable(GL_DEPTH_TEST); glDisable(GL_DITHER); +#ifndef __CELLOS_LV2__ /* is this really necessary? isn't default clear color always black? */ glClearColor(0, 0, 0, 1); +#endif memcpy(gl->tex_coords, tex_coords, sizeof(tex_coords)); gl->coords.vertex = vertex_ptr;