2007-10-15 Tomas Frydrych <tf@o-hand.com>

* clutter/cogl/gl/cogl-defines.h:
	* clutter/cogl/gl/cogl.c:
	Fixed up GL include for windows.
This commit is contained in:
Tomas Frydrych 2007-10-15 19:19:42 +00:00
parent 356678ab3c
commit 63ed3a309c
2 changed files with 10 additions and 0 deletions

View File

@ -26,7 +26,12 @@
#ifndef __COGL_DEFINES_H__ #ifndef __COGL_DEFINES_H__
#define __COGL_DEFINES_H__ #define __COGL_DEFINES_H__
#ifdef WIN32
#include <windows.h>
#include <GL/Glee.h>
#else
#include <GL/gl.h> #include <GL/gl.h>
#endif
G_BEGIN_DECLS G_BEGIN_DECLS

View File

@ -29,7 +29,12 @@
#include "cogl.h" #include "cogl.h"
#ifdef WIN32
#include <windows.h>
#include <GL/Glee.h>
#else
#include <GL/gl.h> #include <GL/gl.h>
#endif
#include <string.h> #include <string.h>
#ifdef HAVE_CLUTTER_GLX #ifdef HAVE_CLUTTER_GLX