summaryrefslogtreecommitdiffstatsci
path: root/src/vkvg_context_internal.h
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-15 16:02:48 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2022-01-15 16:02:48 +0100
commit07e316316bc7a7529c2d9b3503771eab34775bc3 (patch)
tree5881f36c214012206ff0f75a460cac3579c8181d /src/vkvg_context_internal.h
parente5b3a3e3eda98688b731ee5e59da6725315b220c (diff)
test with solid color onlysolidColorOnlyShader
Diffstat (limited to 'src/vkvg_context_internal.h')
-rw-r--r--src/vkvg_context_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vkvg_context_internal.h b/src/vkvg_context_internal.h
index 537fc8f..d452529 100644
--- a/src/vkvg_context_internal.h
+++ b/src/vkvg_context_internal.h
@@ -68,7 +68,7 @@
typedef struct{
vec2 pos;
uint32_t color;
- vec3 uv;
+ //vec3 uv;
}Vertex;
typedef struct {
@@ -113,7 +113,7 @@ typedef struct _vkvg_context_save_t{
vkvg_fill_rule_t curFillRule;
long selectedCharSize; /* Font size*/
- char* selectedFontName;
+ char selectedFontName[FONT_NAME_MAX_SIZE];
_vkvg_font_identity_t selectedFont; //hold current face and size before cache addition
_vkvg_font_identity_t* currentFont; //font ready for lookup
vkvg_direction_t textDirection;
@@ -204,7 +204,7 @@ typedef struct _vkvg_context_t {
vkvg_fill_rule_t curFillRule;
long selectedCharSize; /* Font size*/
- char* selectedFontName;
+ char selectedFontName[FONT_NAME_MAX_SIZE];
//_vkvg_font_t selectedFont; //hold current face and size before cache addition
_vkvg_font_identity_t* currentFont; //font pointing to cached fonts identity
_vkvg_font_t* currentFontSize; //font structure by size ready for lookup