mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-22 18:28:52 -05: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);
|
||||
|
||||
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);
|
||||
if (!slots[i].window)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user