[SDL] sdl_ttf & opengl problem

Brian brian.ripoff at gmail.com
Fri Jun 22 02:59:33 PDT 2007


Sorry, missed the rest of the code, the initial post was sent to my
spam filter for some reason. With opengl that would be a problem,
sorry.

On 22/06/07, Brian <brian.ripoff at gmail.com> wrote:
> SDL is primarily a software blitter, so it handles non power of two
> regardless of the hardware (note that a software surface is being
> requested).
>
> On 22/06/07, Alberto Luaces <aluaces at udc.es> wrote:
> > El Viernes 22 Junio 2007, engin escribió:
> > > intermediary = SDL_CreateRGBSurface(SDL_SWSURFACE, 50, 50, 32,
> > > rmask, gmask, bmask, amask);
> >
> > I'd say that it is caused because your texture's width and height are not
> > power of two, and your card doesn't handle it. It's common on not so new
> > hardware. Try changing 50, 50 wtih 64, 64, for example.
> > _______________________________________________
> > SDL mailing list
> > SDL at lists.libsdl.org
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> >
>


More information about the SDL mailing list