From e32f87917931a5267480b400ba5389e9c933c45d Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 10 Jun 2012 10:44:08 +0200 Subject: [PATCH] Fix C++ build. --- Makefile.win | 2 ++ gfx/gl.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Makefile.win b/Makefile.win index 9cde4ad3cc..830554704a 100644 --- a/Makefile.win +++ b/Makefile.win @@ -184,6 +184,8 @@ clean: rm -f audio/xaudio-c/*.o rm -f conf/*.o rm -f gfx/*.o + rm -f gfx/context/*.o + rm -f gfx/fonts/*.o rm -f gfx/py_state/*.o rm -f record/*.o rm -f input/*.o diff --git a/gfx/gl.c b/gfx/gl.c index a320875a8d..29d933c4fd 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -46,6 +46,9 @@ #include "shader_glsl.h" #endif +extern const GLfloat vertexes_flipped[]; +extern const GLfloat white_color[]; + // Used for the last pass when rendering to the back buffer. const GLfloat vertexes_flipped[] = { 0, 0,