Browse Source

remove SDL_SetColorKey

pull/4/head
Alex Foulon alxf 9 years ago
parent
commit
f3c5741798
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      caca/driver/sdl.c

+ 0
- 1
caca/driver/sdl.c View File

@@ -197,7 +197,6 @@ static void sdl_display(caca_display_t *dp)
if(len > 0) {
rw = SDL_RWFromMem(buffer, len);
img = IMG_LoadTyped_RW(rw, 1, "TGA");
SDL_SetColorKey(img, SDL_RLEACCEL, img->format->colorkey);
SDL_FillRect(dp->drv.p->screen, NULL, 0x000000);
SDL_BlitSurface(img, NULL, dp->drv.p->screen, NULL);
SDL_FreeSurface(img);


Loading…
Cancel
Save