mirror of https://github.com/bjornbytes/lovr.git
Make WindowFlags const in createWindow;
This commit is contained in:
parent
e9841dd562
commit
810086e1ba
|
@ -146,7 +146,7 @@ size_t lovrPlatformGetDataDirectory(char* buffer, size_t size);
|
|||
size_t lovrPlatformGetWorkingDirectory(char* buffer, size_t size);
|
||||
size_t lovrPlatformGetExecutablePath(char* buffer, size_t size);
|
||||
size_t lovrPlatformGetBundlePath(char* buffer, size_t size, const char** root);
|
||||
bool lovrPlatformCreateWindow(WindowFlags* flags);
|
||||
bool lovrPlatformCreateWindow(const WindowFlags* flags);
|
||||
bool lovrPlatformHasWindow(void);
|
||||
void lovrPlatformGetWindowSize(int* width, int* height);
|
||||
void lovrPlatformGetFramebufferSize(int* width, int* height);
|
||||
|
|
|
@ -311,7 +311,7 @@ size_t lovrPlatformGetBundlePath(char* buffer, size_t size, const char** root) {
|
|||
return length;
|
||||
}
|
||||
|
||||
bool lovrPlatformCreateWindow(WindowFlags* flags) {
|
||||
bool lovrPlatformCreateWindow(const WindowFlags* flags) {
|
||||
if (state.display) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -190,7 +190,7 @@ void lovrPlatformPollEvents() {
|
|||
}
|
||||
}
|
||||
|
||||
bool lovrPlatformCreateWindow(WindowFlags* flags) {
|
||||
bool lovrPlatformCreateWindow(const WindowFlags* flags) {
|
||||
if (glfwState.window) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ size_t lovrPlatformGetBundlePath(char* buffer, size_t size, const char** root) {
|
|||
return length;
|
||||
}
|
||||
|
||||
bool lovrPlatformCreateWindow(WindowFlags* flags) {
|
||||
bool lovrPlatformCreateWindow(const WindowFlags* flags) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue