[SDL] SDL_OPENGLBLIT + SDL_SetColorKey()

Mattias Engdegård f91-men at nada.kth.se
Tue Aug 21 02:01:01 PDT 2001


Pete Shinners <pete at visionart.com> wrote:
>this may (or may not be) part of the problem. but it is no
>use using RLEACCEL if you only plan on blitting it to opengl.
>in fact, i imagine it would even make the opengl blits run
>slower.

that is irrelevant. RLEACCEL should speed up SDL 2d blits to OPENGLBLIT
screens nicely

The cases when RLEACCEL is a bad idea are
a) when you are modifying the source surface frequently (causing many
   de- and re-encoding runs)
b) when you have hardware that supports the blits you are interested in

Otherwise it should run as fast as or faster than without RLEACCEL





More information about the SDL mailing list