File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -549,10 +549,10 @@ int guidriver_setfont(struct nk_context *ctx, int type)
549549 return prev ;
550550}
551551
552- int guidriver_appsize (int * width , int * height )
552+ bool guidriver_appsize (int * width , int * height )
553553{
554554 glfwGetWindowSize (winApp , width , height );
555- return 1 ;
555+ return true ;
556556}
557557
558558void guidriver_render (struct nk_color clear )
@@ -571,14 +571,14 @@ void guidriver_render(struct nk_color clear)
571571 glfwSwapBuffers (winApp );
572572}
573573
574- int guidriver_poll (int waitidle )
574+ bool guidriver_poll (bool waitidle )
575575{
576576 (void )waitidle ;
577577 if (glfwWindowShouldClose (winApp ))
578- return 0 ;
578+ return false ;
579579 glfwPollEvents ();
580580 nk_glfw3_new_frame ();
581- return 1 ;
581+ return true ;
582582}
583583
584584static int hotplug_callback (libusb_context * ctx , libusb_device * device ,
You can’t perform that action at this time.
0 commit comments