mirror of
https://github.com/glest/glest-source.git
synced 2025-08-15 12:54:01 +02:00
- fixed freetype-gl on windows compiler
- deprecated ancient opengl extension code and replaced it with glew - testing new font renderer on windows (still in progress need to fix newlines) (now need to check the Linux build and possibly make adjustments)
This commit is contained in:
@@ -37,8 +37,14 @@
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
//#include "gl.h"
|
||||
#include <GL/glew.h>
|
||||
|
||||
//#include <GL/glu.h>
|
||||
//#include "glext.h"
|
||||
//typedef char GLchar; /* native character */
|
||||
//#define GL_BOOL 0x8B56
|
||||
|
||||
#else
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#ifndef _SHARED_GRAPHICS_GL_OPENGL_H_
|
||||
#define _SHARED_GRAPHICS_GL_OPENGL_H_
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <cassert>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
@@ -33,7 +33,7 @@
|
||||
#include <GL/gl.h>
|
||||
|
||||
#include "Mathlib.h"
|
||||
#include "Texture.h"
|
||||
#include "md5Texture.h"
|
||||
|
||||
namespace Shared { namespace Graphics { namespace md5 {
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#define __TEXTUREMANAGER_H__
|
||||
|
||||
#include "DataManager.h"
|
||||
#include "Texture.h"
|
||||
#include "md5Texture.h"
|
||||
|
||||
namespace Shared { namespace Graphics { namespace md5 {
|
||||
|
||||
|
Reference in New Issue
Block a user