Permalink
Browse files

comment out sprite conversion since we dont currently fully support 1…

…6bpp
  • Loading branch information...
1 parent cf92617 commit 29f79da4903bda5b3f4dc56314792eafca13a319 @bradallred bradallred committed Jul 8, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 gemrb/plugins/SDLVideo/SDLVideo.cpp
@@ -338,10 +338,14 @@ Sprite2D* SDLVideoDriver::CreateSprite(int w, int h, int bpp, ieDword rMask,
if (cK) {
spr->SetColorKey(index);
}
+ /*
+ there is at least one place (BlitGameSprite) that requires 8 or 32bpp sprites
+ untill we support 16bpp fully we cannot do this
+
// make sure colorkey is set prior to conversion
SDL_PixelFormat* fmt = backBuf->format;
spr->ConvertFormatTo(fmt->BitsPerPixel, fmt->Rmask, fmt->Gmask, fmt->Bmask, fmt->Amask);
-
+ */
return spr;
}

0 comments on commit 29f79da

Please sign in to comment.