Skip to content

Commit

Permalink
Development-related additions (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis authored Nov 12, 2024
1 parent a17314d commit 283ac85
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/window/Window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,12 @@ int Window::initialize(DisplaySettings* settings) {
setFramerate(settings->framerate.get());
const GLubyte* vendor = glGetString(GL_VENDOR);
const GLubyte* renderer = glGetString(GL_RENDERER);
logger.info() << "GL Vendor: " << (char*)vendor;
logger.info() << "GL Renderer: " << (char*)renderer;
logger.info() << "GL Vendor: " << reinterpret_cast<const char*>(vendor);
logger.info() << "GL Renderer: " << reinterpret_cast<const char*>(renderer);
logger.info() << "GLFW: " << glfwGetVersionString();
glm::vec2 scale;
glfwGetMonitorContentScale(glfwGetPrimaryMonitor(), &scale.x, &scale.y);
logger.info() << "monitor content scale: " << scale.x << "x" << scale.y;

input_util::initialize();
return 0;
Expand Down

0 comments on commit 283ac85

Please sign in to comment.