do not use vgl.h, use glUtil.h

This commit is contained in:
Aaron Culliney 2014-10-07 21:26:50 -07:00
parent 6858e51a75
commit d083fa958f
4 changed files with 1 additions and 37 deletions

View File

@ -56,7 +56,7 @@
#if VIDEO_OPENGL
#include "video/vgl.h"
#include "video_util/glUtil.h"
#else
#define GLenum int
#define glGetError() 0

View File

@ -13,7 +13,6 @@
#include "common.h"
#include "video/glinput.h"
#include "video/vgl.h"
//----------------------------------------------------------------------------
//

View File

@ -13,7 +13,6 @@
#include "common.h"
#include "video/glinput.h"
#include "video/vgl.h"
#include "video/renderer.h"
#include "video_util/modelUtil.h"

View File

@ -1,34 +0,0 @@
/*
* Apple // emulator for *nix
*
* This software package is subject to the GNU General Public License
* version 2 or later (your choice) as published by the Free Software
* Foundation.
*
* THERE ARE NO WARRANTIES WHATSOEVER.
*
*/
// OpenGL header includes
// #define USE_GL3W
#if defined(__APPLE__)
# include <TargetConditionals.h>
# if TARGET_OS_MAC
# include <OpenGL/OpenGL.h>
# include <OpenGL/gl3.h>
# else
# include <OpenGLES/ES2/gl.h>
# include <OpenGLES/ES2/glext.h>
# endif
#elif defined(USE_GL3W)
# include <GL3/gl3.h>
# include <GL3/gl3w.h>
#else
# define GLEW_STATIC
# include <GL/glew.h>
# define FREEGLUT_STATIC
# include <GL/freeglut.h>
#endif