1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Tarted-up the openGL demo, and made the iOS demo the same as the normal one. Changed the opengl module to include gl.h automatically, so that your app doesn't need to include it.

This commit is contained in:
Julian Storer 2011-09-09 18:15:29 +01:00
parent 02494168e6
commit 6b94c7598d
5 changed files with 268 additions and 171 deletions

View file

@ -49,12 +49,6 @@
#undef Point
#undef Component
#elif JUCE_IOS
#if JUCE_OPENGL
#include <OpenGLES/ES1/gl.h>
#include <OpenGLES/ES1/glext.h>
#endif
//==============================================================================
#elif JUCE_WINDOWS
#include <windowsx.h>
@ -72,8 +66,6 @@
#endif
#if JUCE_OPENGL
#include <gl/gl.h>
#if JUCE_MSVC && ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
#pragma comment(lib, "OpenGL32.Lib")
#pragma comment(lib, "GlU32.Lib")