diff options
Diffstat (limited to 'src/vkvg_context_internal.h')
| -rw-r--r-- | src/vkvg_context_internal.h | 6 |
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 |