Allowing the window to be closed

This commit is contained in:
Zoe Roux
2021-05-27 23:08:48 +02:00
parent b88172b667
commit 47359e2a14
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ int demo()
const int screenHeight = 450;
auto iterator = textures.begin();
const std::string modelPath = "assets/player/player.iqm";
// RAY::TraceLog::setLevel(LOG_WARNING);
RAY::TraceLog::setLevel(LOG_WARNING);
RAY::Window &window = RAY::Window::getInstance(screenWidth, screenHeight, "Bidibidibop", FLAG_WINDOW_RESIZABLE);
RAY::Image icon("assets/icon.png");
RAY::Drawables::Drawables3D::Model model(modelPath, std::pair(MAP_DIFFUSE, "assets/player/blue.png"));