From 53d82c3e8d608bc05e40e26950a98d15b16c562c Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Tue, 11 Oct 2016 14:36:16 -0400 Subject: BLF/OpenGL: draw text with new immediate mode Part of T49043 --- source/blender/blenfont/intern/blf_internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/blenfont/intern/blf_internal.h') diff --git a/source/blender/blenfont/intern/blf_internal.h b/source/blender/blenfont/intern/blf_internal.h index d9d758ce548..ba17e050399 100644 --- a/source/blender/blenfont/intern/blf_internal.h +++ b/source/blender/blenfont/intern/blf_internal.h @@ -37,6 +37,11 @@ struct GlyphBLF; struct GlyphCacheBLF; struct rctf; +/* vertex attribute IDs (fixed IDs so we don't have to pass them around) */ +#define BLF_POS_ID 0 +#define BLF_COORD_ID 1 +#define BLF_COLOR_ID 2 + unsigned int blf_next_p2(unsigned int x); unsigned int blf_hash(unsigned int val); -- cgit v1.2.3