diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-14 03:51:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-14 03:51:21 +0400 |
commit | 3580d6229a2c2ee5815ff76665d4bb014eacfb99 (patch) | |
tree | 24a38ec45f417458760875c20d10914e4aa5c973 /source/blender/gpu | |
parent | 03e638d1285b2a26902230772ae9261406fd6658 (diff) |
- text3d was missing menu items for toggling bold/underline/italic/smallcaps.
- made smallcaps use a temp flag so caps can still have the smallcaps flag.
- utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places.
- removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too.
- fix for some warnings.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/gpu_buffers.h | 1 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/gpu_buffers.h b/source/blender/gpu/gpu_buffers.h index 983133a6d4b..75e596935a3 100644 --- a/source/blender/gpu/gpu_buffers.h +++ b/source/blender/gpu/gpu_buffers.h @@ -50,6 +50,7 @@ struct DerivedMesh; struct GHash; +struct DMGridData; /* V - vertex, N - normal, T - uv, C - color F - float, UB - unsigned byte */ diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 506ce94b763..abbdbb4ac27 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -68,6 +68,7 @@ #include "GPU_extensions.h" #include "GPU_material.h" #include "GPU_draw.h" +#include "gpu_buffers.h" #include "smoke_API.h" |