Add window overrides

This commit is contained in:
Rob Loach
2021-01-16 17:43:08 -05:00
parent 56e40e0958
commit bb5758f947

View File

@@ -32,6 +32,20 @@
namespace raylib {
/**
* Initialize window and OpenGL context
*/
inline void InitWindow(int width, int height, const std::string& title) {
::InitWindow(width, height, title.c_str());
}
/**
* Set title for window
*/
inline void SetWindowTitle(const std::string& title) {
::SetWindowTitle(title.c_str());
}
/**
* Get the human-readable, UTF-8 encoded name of the primary monitor
*/