pBufferAGL mac include

This commit is contained in:
Mark Watkins 2011-06-18 05:04:56 +10:00
parent 7ccbdd6b4c
commit 6831cf8cb3
2 changed files with 8 additions and 2 deletions

View File

@ -16,10 +16,10 @@
<File name="../../src/SleepyHeadMain.h" open="1" top="0" tabpos="2"> <File name="../../src/SleepyHeadMain.h" open="1" top="0" tabpos="2">
<Cursor position="2035" topLine="47" /> <Cursor position="2035" topLine="47" />
</File> </File>
<File name="../../src/graphs/gl_pbuffer.cpp" open="1" top="0" tabpos="5"> <File name="../../src/graphs/gl_pbuffer.cpp" open="1" top="1" tabpos="5">
<Cursor position="3" topLine="0" /> <Cursor position="3" topLine="0" />
</File> </File>
<File name="../../src/graphs/gl_pbuffer.h" open="1" top="1" tabpos="6"> <File name="../../src/graphs/gl_pbuffer.h" open="1" top="0" tabpos="6">
<Cursor position="401" topLine="0" /> <Cursor position="401" topLine="0" />
</File> </File>
<File name="../../src/graphs/graph.cpp" open="1" top="0" tabpos="3"> <File name="../../src/graphs/graph.cpp" open="1" top="0" tabpos="3">

View File

@ -5,7 +5,13 @@ Author: Mark Watkins <jedimark64@users.sourceforge.net>
License: GPL License: GPL
*/ */
#include "gl_pbuffer.h" #include "gl_pbuffer.h"
#if defined(__DARWIN__)
#include <AGL/glu.h>
#else
#include <GL/glu.h> #include <GL/glu.h>
#endif
#include <wx/utils.h> #include <wx/utils.h>
#include <wx/glcanvas.h> #include <wx/glcanvas.h>
#include <wx/image.h> #include <wx/image.h>