|
@@ -505,13 +505,15 @@ bool Graphics::SetMode(int width, int height, bool fullscreen, bool borderless,
|
|
|
|
|
|
|
|
#ifdef URHO3D_LOGGING
|
|
#ifdef URHO3D_LOGGING
|
|
|
URHO3D_LOGINFOF("Adapter used %s %s", (const char *) glGetString(GL_VENDOR), (const char *) glGetString(GL_RENDERER));
|
|
URHO3D_LOGINFOF("Adapter used %s %s", (const char *) glGetString(GL_VENDOR), (const char *) glGetString(GL_RENDERER));
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
String msg;
|
|
String msg;
|
|
|
msg.AppendWithFormat("Set screen mode %dx%d rate %d Hz %s monitor %d", width_, height_, refreshRate_, (fullscreen_ ? "fullscreen" : "windowed"), monitor_);
|
|
msg.AppendWithFormat("Set screen mode %dx%d rate %d Hz %s monitor %d", width_, height_, refreshRate_, (fullscreen_ ? "fullscreen" : "windowed"), monitor_);
|
|
|
if (borderless_)
|
|
if (borderless_)
|
|
|
msg.Append(" borderless");
|
|
msg.Append(" borderless");
|
|
|
if (resizable_)
|
|
if (resizable_)
|
|
|
msg.Append(" resizable");
|
|
msg.Append(" resizable");
|
|
|
|
|
+ if (highDPI_)
|
|
|
|
|
+ msg.Append(" highDPI");
|
|
|
if (multiSample > 1)
|
|
if (multiSample > 1)
|
|
|
msg.AppendWithFormat(" multisample %d", multiSample);
|
|
msg.AppendWithFormat(" multisample %d", multiSample);
|
|
|
URHO3D_LOGINFO(msg);
|
|
URHO3D_LOGINFO(msg);
|