Setting full screen - Printable Version +- Forums (http://www.scratchpadgames.net/forums) +-- Forum: Main Forums (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=1) +--- Forum: Fundamentals Errata/Questions (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=3) +--- Thread: Setting full screen (/showthread.php?tid=78) |
Setting full screen - Brian Beuken - 04-25-2018 In the listed graphic setup code for the early projects, the init_ogl function is a basic system which works fine for windowed EGL display, but it should also be possible to set full screen mode by sending either 1920x1080 or the returns value from Code: uint width, height; However due to a missing set up in the init_ogl function, on page 47, the early projects can't go full screen, but you can correct this by adding two lines as noted here PHP Code: state->width = width; The downloaded files should all have this fix but I will check to make sure. |