mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-15 10:48:04 +00:00
Update readme and fix some last straggling bits
This commit is contained in:
parent
9c99ac7800
commit
5582d0c57b
3
clay.h
3
clay.h
@ -302,9 +302,6 @@ typedef struct {
|
||||
uint16_t lineHeight;
|
||||
Clay_TextElementConfigWrapMode wrapMode;
|
||||
bool hashStringContents;
|
||||
#ifdef CLAY_EXTEND_CONFIG_TEXT
|
||||
CLAY_EXTEND_CONFIG_TEXT
|
||||
#endif
|
||||
} Clay_TextElementConfig;
|
||||
|
||||
CLAY__WRAPPER_STRUCT(Clay_TextElementConfig);
|
||||
|
@ -109,6 +109,8 @@ static void Clay_SDL2_Render(SDL_Renderer *renderer, Clay_RenderCommandArray ren
|
||||
};
|
||||
|
||||
SDL_RenderCopy(renderer, texture, NULL, &destination);
|
||||
|
||||
SDL_DestroyTexture(texture);
|
||||
break;
|
||||
}
|
||||
case CLAY_RENDER_COMMAND_TYPE_BORDER: {
|
||||
|
Loading…
Reference in New Issue
Block a user