diff --git a/Engine/src/GlobalData/PrismaFunc.cpp b/Engine/src/GlobalData/PrismaFunc.cpp index ffb8c87..7058aff 100644 --- a/Engine/src/GlobalData/PrismaFunc.cpp +++ b/Engine/src/GlobalData/PrismaFunc.cpp @@ -129,7 +129,7 @@ Prisma::PrismaFunc::PrismaFunc() // Create window m_window = glfwCreateWindow(settings.width, settings.height, settings.name.c_str(), nullptr, nullptr); - glfwMaximizeWindow(m_window); + //glfwMaximizeWindow(m_window); glfwSetWindowAttrib(m_window, GLFW_RESIZABLE, GLFW_FALSE); if (m_window == nullptr) diff --git a/GUI/src/TextureInfo.cpp b/GUI/src/TextureInfo.cpp index dcf6aa9..4c84b94 100644 --- a/GUI/src/TextureInfo.cpp +++ b/GUI/src/TextureInfo.cpp @@ -1,5 +1,7 @@ #include "../include/TextureInfo.h" +#include + Prisma::TextureInfo::TextureInfo() { } @@ -12,12 +14,7 @@ void Prisma::TextureInfo::showTextures() // Display the images in a grid layout for (auto texture : m_textures) { - int width = texture.data().width; - int height = texture.data().height; - width = width / scale; - height = height / scale; - - ImGui::Image((void*)static_cast(texture.id()), ImVec2(width, height)); + ImGui::Image((void*)static_cast(texture.id()), ImVec2(100, 100)); auto getLast = [](std::string s) { size_t found = s.find_last_of('/');