[SDL] Re: Re: Heavy BUG in SDL 1.2.6 !!!

Bob Pendleton bob at pendleton.com
Mon Sep 8 11:51:00 PDT 2003


On Fri, 2003-09-05 at 22:19, Goul_duKat wrote:
> "Bob Pendleton" <bob at pendleton.com> ha scritto nel messaggio
> news:1062772725.26051.52.camel at voyager.swordx.com...
> > > Uint32 init_flag = (SDL_INIT_TIMER|SDL_INIT_VIDEO|SDL_INIT_EVENTTHREAD);
> > >  Uint32 init_vflag = (SDL_HWSURFACE|SDL_OPENGL|SDL_RESIZABLE);
> > A surface must be either a hardware surface or and opengl surface, not
> > both. They are very different things. With a hardware surface you get a
> > pointer to the frame buffer that you use to draw into. With an OpenGL
> > surface you get a surface managed entirely by OpenGL.
> 
> ok, the good initialization is : SDL_OPENGL|SDL_RESIZABLE ??? for ogl in a
> windows ??? (the example included in the source have betrayed me ?)(the
> SDL_HWSURFACE is only for 2d blitting surface ?)

That is correct.

	Bob Pendleton

> 
> i try this but the windows isn't resaziable :-/
> 
> no one have an example of OGL_SDL windows reasaizable to share with me ?
> 
> tnx a lot
> 
> 
> 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
-- 
+-----------------------------------+
+ Bob Pendleton: independent writer +
+ and  programmer.                  +
+ email:    Bob at Pendleton.com       +
+ web:      www.GameProgrammer.com  +
+-----------------------------------+





More information about the SDL mailing list