Added window creation intent printing.

master
Camilla Berglund ago%!(EXTRA string=11 years)
parent 78f1b8bd15
commit d7c42c8132
  1. 14
      tests/events.c

@ -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…
Cancel
Save