mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
fix some warns and errors
This commit is contained in:
parent
f8302a42d0
commit
d896d2debb
2 changed files with 1 additions and 4 deletions
|
|
@ -86,7 +86,7 @@ static void GLAPIENTRY gl_message_callback(
|
||||||
if (severity == GL_DEBUG_SEVERITY_NOTIFICATION) {
|
if (severity == GL_DEBUG_SEVERITY_NOTIFICATION) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if constexpr (!ENGINE_DEBUG_BUILD && severity != GL_DEBUG_SEVERITY_HIGH) {
|
if (!ENGINE_DEBUG_BUILD && severity != GL_DEBUG_SEVERITY_HIGH) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
logger.warning() << "GL:" << gl_error_name(type) << ":"
|
logger.warning() << "GL:" << gl_error_name(type) << ":"
|
||||||
|
|
|
||||||
|
|
@ -45,9 +45,6 @@ public:
|
||||||
[[nodiscard]] SDL_Window *getSdlWindow() const;
|
[[nodiscard]] SDL_Window *getSdlWindow() const;
|
||||||
private:
|
private:
|
||||||
bool isSuccessfull = true;
|
bool isSuccessfull = true;
|
||||||
bool maximized = false;
|
|
||||||
bool focused = false;
|
|
||||||
bool iconified = false;
|
|
||||||
bool toClose = false;
|
bool toClose = false;
|
||||||
bool fullscreen = false;
|
bool fullscreen = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue