mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Added window creation intent printing.
This commit is contained in:
parent
78f1b8bd15
commit
d7c42c8132
@ -529,6 +529,20 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
sprintf(title, "Event Linter (Window %i)", slots[i].number);
|
sprintf(title, "Event Linter (Window %i)", slots[i].number);
|
||||||
|
|
||||||
|
if (monitor)
|
||||||
|
{
|
||||||
|
printf("Creating full screen window %i (%ix%i on %s)\n",
|
||||||
|
slots[i].number,
|
||||||
|
width, height,
|
||||||
|
glfwGetMonitorName(monitor));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("Creating windowed mode window %i (%ix%i)\n",
|
||||||
|
slots[i].number,
|
||||||
|
width, height);
|
||||||
|
}
|
||||||
|
|
||||||
slots[i].window = glfwCreateWindow(width, height, title, monitor, NULL);
|
slots[i].window = glfwCreateWindow(width, height, title, monitor, NULL);
|
||||||
if (!slots[i].window)
|
if (!slots[i].window)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user