mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-19 04:38:01 +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;
|
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);
|
SetConfigFlags(flags);
|
||||||
InitWindow(1024, 768, "Clay - Raylib Renderer Example");
|
InitWindow(width, height, title);
|
||||||
// EnableEventWaiting();
|
// EnableEventWaiting();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -236,4 +236,4 @@ void Clay_Raylib_Render(Clay_RenderCommandArray renderCommands)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user