mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 04:26:18 +00:00
[Compilers] Add missing struct name for image element config
This commit is contained in:
parent
34ff7e1bea
commit
ce2475ba73
2
clay.h
2
clay.h
|
@ -402,7 +402,7 @@ CLAY__WRAPPER_STRUCT(Clay_TextElementConfig);
|
|||
// Image --------------------------------
|
||||
|
||||
// Controls various settings related to image elements.
|
||||
typedef struct {
|
||||
typedef struct Clay_ImageElementConfig {
|
||||
void* imageData; // A transparent pointer used to pass image data through to the renderer.
|
||||
Clay_Dimensions sourceDimensions; // The original dimensions of the source image, used to control aspect ratio.
|
||||
} Clay_ImageElementConfig;
|
||||
|
|
Loading…
Reference in a new issue