BeRo1985 / pasvulkan

Vulkan header generator, OOP-style API wrapper, framework and prospective Vulkan-based game engine for Object Pascal
zlib License
193 stars 31 forks source link

Maximized windows go off screen in GUI example #4

Closed troneill closed 7 years ago

troneill commented 7 years ago

It appears maximized windows in the GUI example go off screen because the initial menu bar is not recognized as a parent during window state change?

Built with Lazarus 1.6.4/FPC 3.0.2

examples

BeRo1985 commented 7 years ago

Fixed at https://github.com/BeRo1985/pasvulkan/commit/bdd02085cdc6ef331260bc27310b12154be37991 :)

BeRo1985 commented 7 years ago

And as a tip: if you compile it with the global define NoVSync with -dNoVSync as FPC compiler parameter, then the GUI will react much smoother to mouse movements and so on, since the input processing is no more limited to the display framerate then.