mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 21:28:03 +00:00
Added window dimentions and title to Clay_Raylib_Initialize function
This commit is contained in:
parent
18f06e5faf
commit
2f0d3c77fa
@ -124,9 +124,9 @@ static inline Clay_Dimensions Raylib_MeasureText(Clay_String *text, Clay_TextEle
|
||||
return textSize;
|
||||
}
|
||||
|
||||
void Clay_Raylib_Initialize(unsigned int flags) {
|
||||
void Clay_Raylib_Initialize(int width, int height, const char *title, unsigned int flags) {
|
||||
SetConfigFlags(flags);
|
||||
InitWindow(1024, 768, "Clay - Raylib Renderer Example");
|
||||
InitWindow(width, height, title);
|
||||
// EnableEventWaiting();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user