[Bf-blender-cvs] [c56c493] master: BLF: use regular unsigned int's

Campbell Barton noreply at git.blender.org
Wed Apr 8 02:39:24 CEST 2015


Commit: c56c493cf403b63ec46b90023cdc8137275a310f
Author: Campbell Barton
Date:   Wed Apr 8 10:29:37 2015 +1000
Branches: master
https://developer.blender.org/rBc56c493cf403b63ec46b90023cdc8137275a310f

BLF: use regular unsigned int's

So GL isnt needed to include BLF types.

===================================================================

M	source/blender/blenfont/intern/blf_internal_types.h

===================================================================

diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h
index da756d6..1404b9d 100644
--- a/source/blender/blenfont/intern/blf_internal_types.h
+++ b/source/blender/blenfont/intern/blf_internal_types.h
@@ -48,7 +48,7 @@ typedef struct GlyphCacheBLF {
 	struct GlyphBLF *glyph_ascii_table[256];
 
 	/* texture array, to draw the glyphs. */
-	GLuint *textures;
+	unsigned int *textures;
 
 	/* size of the array. */
 	unsigned int ntex;
@@ -103,7 +103,7 @@ typedef struct GlyphBLF {
 	int advance_i;
 
 	/* texture id where this glyph is store. */
-	GLuint tex;
+	unsigned int tex;
 
 	/* position inside the texture where this glyph is store. */
 	int xoff;




More information about the Bf-blender-cvs mailing list