On 26/09/2007, at 1:45 AM, André wrote:
> > Is it possible, when toggling from a sized window (say, 640x480) to a > fullscreen mode to have the entire screen be the same size as the > window. Right now, when I switch to fullscreen mode (on a Macbook), > only a fraction of the screen is used; I'd like for the displayed > "world" to take over the entire window. pyglet will never have a feature to change display resolutions. This, IMO, is counter to the user's own screen preferences and is too often abused by game developers. When you create or toggle to a fullscreen window, the window's width and height will match the size of the screen. You can then scale your content to match. One easy solution is to use glScale to map your original window size to the fullscreen size. The resulting texture interpolation will look much the same as a non-native resolution on an LCD screen anyway. Cheers Alex. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
