fix some warns and errors

This commit is contained in:
Igor Stepanov 2025-10-07 17:20:06 +03:00
parent f8302a42d0
commit d896d2debb
2 changed files with 1 additions and 4 deletions

View file

@ -86,7 +86,7 @@ static void GLAPIENTRY gl_message_callback(
if (severity == GL_DEBUG_SEVERITY_NOTIFICATION) {
return;
}
if constexpr (!ENGINE_DEBUG_BUILD && severity != GL_DEBUG_SEVERITY_HIGH) {
if (!ENGINE_DEBUG_BUILD && severity != GL_DEBUG_SEVERITY_HIGH) {
return;
}
logger.warning() << "GL:" << gl_error_name(type) << ":"

View file

@ -45,9 +45,6 @@ public:
[[nodiscard]] SDL_Window *getSdlWindow() const;
private:
bool isSuccessfull = true;
bool maximized = false;
bool focused = false;
bool iconified = false;
bool toClose = false;
bool fullscreen = false;