the OpenGL framework is already covered by 'sdl-config --libs', and GLUT isn't used at all (note: GLU != GLUT); renamed OSX macro to MACOSX (thus matching ScummVM; hack driver_gl.cpp to compile on OSX

This commit is contained in:
Max Horn 2004-03-25 22:17:09 +00:00
parent 72a19ffff5
commit eb3f4e6e8d
3 changed files with 11 additions and 7 deletions

View file

@ -21,7 +21,9 @@
Driver *g_driver;
// Hacky includes for temporary font rendering
#ifndef WIN32
#if defined(MACOSX)
// TODO
#elif defined(WIN32)
#include <GL/glx.h>
#include <X11/Xlib.h>
#else
@ -47,7 +49,9 @@ Driver::Driver(int screenW, int screenH, int screenBPP) {
// FIXME: Hacky temporary font renderer code
hackFont = glGenLists(256);
#ifdef WIN32
#if defined(MACOSX)
// TODO
#elif defined(WIN32)
{
HDC hDC;
HFONT font;