Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 540:a3767018a96d
prev531:f0fee3ba71d1
next561:533f6b478071
author nkeynes
date Wed Nov 21 11:44:30 2007 +0000 (11 years ago)
permissions -rw-r--r--
last change Support darwin OpenGL/* headers as well as the more usual GL/*
file annotate diff log raw
1.1 --- a/src/display.h Mon Nov 19 08:47:39 2007 +0000
1.2 +++ b/src/display.h Wed Nov 21 11:44:30 2007 +0000
1.3 @@ -22,8 +22,14 @@
1.4
1.5 #include <stdint.h>
1.6 #include <glib.h>
1.7 +#include "lxdream.h"
1.8 +#ifdef APPLE_BUILD
1.9 +#include <OpenGL/gl.h>
1.10 +#include <OpenGL/glext.h>
1.11 +#else
1.12 #include <GL/gl.h>
1.13 -#include "lxdream.h"
1.14 +#include <GL/glext.h>
1.15 +#endif
1.16
1.17 #ifdef __cplusplus
1.18 extern "C" {
1.19 @@ -166,6 +172,7 @@
1.20
1.21 extern display_driver_t display_driver;
1.22
1.23 +extern struct display_driver display_agl_driver;
1.24 extern struct display_driver display_gtk_driver;
1.25 extern struct display_driver display_null_driver;
1.26
.