GLBasic forum

Feature request => 2D => Topic started by: MrTAToad on 2009-Mar-28

Title: Request for Mac/Linux enhancement
Post by: MrTAToad on 2009-Mar-28
Would it be possible to call GetVideoInfo before SDL is initialised, and then putting current_w and current_h in, say, reserved variables.

This is so the current desktop size can be retrieved.
Title: Re: Request for Mac/Linux enhancement
Post by: Kitty Hello on 2009-Mar-28
Oh! Is it not properly restored when fullscreen shuts down?
Title: Re: Request for Mac/Linux enhancement
Post by: MrTAToad on 2009-Mar-28
Yes, it is :) 

I need the desktop size to centre windows on Linux (and Mac come to that).  Plus, I can also check to make sure that a window resolution isn't bigger than the screen.