Darkrose's Blog
Another Update
28th January 2010
By: Darkrose
Both Turious and TSDL have been updated again... this time it's to get the fullscreen/resolution changes working.
This implements a number of things, firstly some new members of tsdl_res to keep track of the maximum possible resolution, which is typically the same as the desktop resolution, but not always.
With this Turious can now check if the screen is big enough to display at it's normal size (640x480), and if not then it will automatically resize to fit the screen... this makes Turious suitable for small devices such as the eeePC.
Also fullscreen is now working after fixing a OpenGL context bug, and Turious is able to automatically resize itself to fit the whole screen, while maintaining the correct aspect ratio... most of the time, some graphics cards will stretch it to fit the whole screen (I discovered this on my Aspire One netbook).
With the display now being scaled the mouse events are also scaled, so that events still occur in the correct place.
This implements a number of things, firstly some new members of tsdl_res to keep track of the maximum possible resolution, which is typically the same as the desktop resolution, but not always.
With this Turious can now check if the screen is big enough to display at it's normal size (640x480), and if not then it will automatically resize to fit the screen... this makes Turious suitable for small devices such as the eeePC.
Also fullscreen is now working after fixing a OpenGL context bug, and Turious is able to automatically resize itself to fit the whole screen, while maintaining the correct aspect ratio... most of the time, some graphics cards will stretch it to fit the whole screen (I discovered this on my Aspire One netbook).
With the display now being scaled the mouse events are also scaled, so that events still occur in the correct place.
There are no comments for this blog entry.