mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 03:44:00 +02:00
fixed new font rendering on Linux and removed glew dependency
This commit is contained in:
@@ -33,21 +33,23 @@
|
||||
#ifndef __VERTEX_BUFFER_H__
|
||||
#define __VERTEX_BUFFER_H__
|
||||
|
||||
#if defined(__APPLE__)
|
||||
//#include <Glut/glut.h>
|
||||
#elif defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <GL/glew.h>
|
||||
|
||||
#else
|
||||
//#include <GL/glut.h>
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
#include "vector.h"
|
||||
|
||||
#define MAX_VERTEX_ATTRIBUTE 64
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Generic vertex attribute.
|
||||
*/
|
||||
@@ -471,4 +473,9 @@ vertex_attribute_new( GLenum target,
|
||||
GL_TYPE_STRING( GLenum gtype );
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __VERTEX_BUFFER_H__ */
|
||||
|
Reference in New Issue
Block a user