mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- cleanup of header files related to opengl / glew
This commit is contained in:
@@ -30,23 +30,12 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
#if defined(__APPLE__)
|
||||
//#include <Glut/glut.h>
|
||||
#else
|
||||
//#include <GL/glut.h>
|
||||
#endif
|
||||
//#include <stdlib.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
//#include "gl.h"
|
||||
#include <GL/glew.h>
|
||||
|
||||
//#include <GL/gl.h>
|
||||
//#include <GL/glu.h>
|
||||
//#include <glprocs.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
@@ -34,7 +34,6 @@
|
||||
#include FT_FREETYPE_H
|
||||
// #include FT_ADVANCES_H
|
||||
#include FT_LCD_FILTER_H
|
||||
//#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
@@ -34,13 +34,9 @@
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <GL/glew.h>
|
||||
//#include "gl.h"
|
||||
|
||||
#else
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include "texture-font.h"
|
||||
|
@@ -36,8 +36,6 @@
|
||||
#include <stdio.h>
|
||||
#include "vector.h"
|
||||
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
Vector *
|
||||
vector_new( size_t item_size )
|
||||
|
@@ -14,7 +14,6 @@
|
||||
#include "font_text_freetypegl.h"
|
||||
#include "vector.h"
|
||||
|
||||
//#include "opengl.h"
|
||||
#include <stdexcept>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -32,10 +31,6 @@ using namespace Shared::PlatformCommon;
|
||||
|
||||
namespace Shared { namespace Graphics { namespace Gl {
|
||||
|
||||
|
||||
//string TextFreetypeGL::langHeightText = "yW";
|
||||
//int TextFreetypeGL::faceResolution = 72;
|
||||
|
||||
//====================================================================
|
||||
TextFreetypeGL::TextFreetypeGL(FontTextHandlerType type) : Text(type) {
|
||||
buffer=NULL;
|
||||
|
@@ -20,13 +20,9 @@
|
||||
#include <windows.h>
|
||||
#endif // _WIN32
|
||||
|
||||
//#include "gl.h"
|
||||
#include <GL/glew.h>
|
||||
|
||||
//#include <GL/gl.h>
|
||||
//#include <GL/glu.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "GlErrors.h"
|
||||
|
||||
namespace Shared { namespace Graphics { namespace md5 {
|
||||
|
Reference in New Issue
Block a user