[SDL] Multisampling and Resize problem
Göttling Thomas
Goettling at TMC-Multimedia.de
Tue Jul 4 11:25:25 PDT 2006
Good Evening,
Tnx fort he Tipp, but it still dosn´t work.
Is there Anywhere a Example with SDL-OpenGL and getting the Mouse-position
as an Event after resizing?
I nearly think its a bug within SDL. I tried all associated Commands like
disabling and enabling mouse capture, re-setting the screen-rect.
Do you have any idea of another try to get the Moseevents in den "new Areas"
after resizing the Window?
Best Regards
Thomas Göttling
-----Ursprüngliche Nachricht-----
Von: sdl-bounces+raven=tcp2.de at libsdl.org
[mailto:sdl-bounces+raven=tcp2.de at libsdl.org] Im Auftrag von Mikael Eriksson
Gesendet: Sonntag, 2. Juli 2006 22:13
An: A list for developers using the SDL library. (includes SDL-announce)
Betreff: Re: [SDL] Multisampling and Resize problem
On Sun, Jul 02, 2006 at 10:04:23AM +0200, Göttling Thomas wrote:
> Hi
> Second Problem Resize the GL window
> Risizing do Work. I Also resize the GL Matrix, and everything else.
>
> Problem:
> - I Start with a Window 1024x786
> - Now I Resize the Window biger in both directions
>
> SDL_PollEvent
> Dont generate Events, if i move the Mouse higher than 1024
in the old
Rect
> of 1024x768 its working fine, but in the new Areas there is no
> Mouse-Motion event
You need to call SDL_SetVideoMode with the new size, otherwise it will
behave strange.
More information about the SDL
mailing list