mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 11:54:00 +02:00
- got freetype-gl working under windows
This commit is contained in:
@@ -32,20 +32,22 @@
|
||||
* ========================================================================= */
|
||||
#ifndef __VERTEX_BUFFER_H__
|
||||
#define __VERTEX_BUFFER_H__
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <Glut/glut.h>
|
||||
//#include <Glut/glut.h>
|
||||
#elif defined(_WIN32)
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <GL/glew.h>
|
||||
|
||||
#else
|
||||
#include <GL/glut.h>
|
||||
//#include <GL/glut.h>
|
||||
#endif
|
||||
#include "vector.h"
|
||||
|
||||
#define MAX_VERTEX_ATTRIBUTE 64
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Generic vertex attribute.
|
||||
*/
|
||||
@@ -133,8 +135,6 @@ typedef struct
|
||||
VertexAttribute *attributes[MAX_VERTEX_ATTRIBUTE];
|
||||
} VertexBuffer;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Creates an empty vertex buffer.
|
||||
*
|
||||
@@ -470,8 +470,5 @@ vertex_attribute_new( GLenum target,
|
||||
char *
|
||||
GL_TYPE_STRING( GLenum gtype );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __VERTEX_BUFFER_H__ */
|
||||
|
Reference in New Issue
Block a user