[SDL] SDL_OPENGLBLIT + SDL_SetColorKey()

Pete Shinners pete at visionart.com
Mon Aug 20 14:41:01 PDT 2001


>         SDL_SetColorKey(Tmp, SDL_SRCCOLORKEY|SDL_RLEACCEL,
>                 SDL_MapRGB(Tmp->format, 0, 0, 0) );


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. but i don't think RLEACCEL changes the format of the
surface at all, so i'm guessing there is something else going on.




More information about the SDL mailing list