mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 15:09:03 +02:00
- turn off building freetype-gl unless enabled in cmake flags
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#include <math.h>
|
||||
|
||||
@@ -94,3 +94,5 @@ void edtaa3(double *img, double *gx, double *gy, int w, int h, short *distx, sho
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@@ -30,6 +30,9 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#pragma once
|
||||
#ifndef __FONT_MANAGER_H__
|
||||
#define __FONT_MANAGER_H__
|
||||
@@ -129,3 +132,4 @@ typedef struct {
|
||||
|
||||
#endif /* __FONT_MANAGER_H__ */
|
||||
|
||||
#endif
|
||||
|
@@ -30,6 +30,9 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#pragma once
|
||||
#ifndef __MARKUP_H__
|
||||
#define __MARKUP_H__
|
||||
@@ -126,3 +129,5 @@ void markup_set_strikethrough_color( Markup *self,
|
||||
#endif
|
||||
|
||||
#endif /* __MARKUP_H__ */
|
||||
|
||||
#endif
|
||||
|
@@ -40,6 +40,9 @@
|
||||
http://clb.demon.fi/files/RectangleBinPack/
|
||||
|
||||
========================================================================= */
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#pragma once
|
||||
#ifndef __TEXTURE_ATLAS_H__
|
||||
#define __TEXTURE_ATLAS_H__
|
||||
@@ -154,3 +157,5 @@ typedef struct
|
||||
#endif
|
||||
|
||||
#endif /* __TEXTURE_ATLAS_H__ */
|
||||
|
||||
#endif
|
||||
|
@@ -30,6 +30,9 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#pragma once
|
||||
#ifndef __TEXTURE_FONT_H__
|
||||
#define __TEXTURE_FONT_H__
|
||||
@@ -118,3 +121,4 @@ typedef struct TextureFont_ TextureFont;
|
||||
|
||||
#endif /* __TEXTURE_FONT_H__ */
|
||||
|
||||
#endif
|
||||
|
@@ -30,6 +30,9 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#pragma once
|
||||
#ifndef __TEXTURE_GLYPH_H__
|
||||
#define __TEXTURE_GLYPH_H__
|
||||
@@ -129,3 +132,5 @@ typedef struct {
|
||||
#endif
|
||||
|
||||
#endif /* __TEXTURE_GLYPH_H__ */
|
||||
|
||||
#endif
|
||||
|
@@ -30,6 +30,8 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#ifndef __VECTOR_H__
|
||||
#define __VECTOR_H__
|
||||
|
||||
@@ -287,3 +289,5 @@ typedef struct
|
||||
#endif
|
||||
|
||||
#endif /* __VECTOR_H__ */
|
||||
|
||||
#endif
|
||||
|
@@ -30,6 +30,9 @@
|
||||
* those of the authors and should not be interpreted as representing official
|
||||
* policies, either expressed or implied, of Nicolas P. Rougier.
|
||||
* ========================================================================= */
|
||||
|
||||
#ifdef USE_FREETYPEGL
|
||||
|
||||
#ifndef __VERTEX_BUFFER_H__
|
||||
#define __VERTEX_BUFFER_H__
|
||||
|
||||
@@ -477,3 +480,5 @@ vertex_attribute_new( GLenum target,
|
||||
|
||||
|
||||
#endif /* __VERTEX_BUFFER_H__ */
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user