Permalink
Browse files

SDLSurfaceSprite: copying the flags will set RLE

RLE memeber is always false anyway so this would likely prevent it.
  • Loading branch information...
1 parent f1219d6 commit e83941474566e7a5dfcbf1b4ef3d1f4051f20da1 @bradallred bradallred committed Jun 21, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 gemrb/plugins/SDLVideo/SDLSurfaceSprite2D.cpp
@@ -44,8 +44,6 @@ SDLSurfaceSprite2D::SDLSurfaceSprite2D(const SDLSurfaceSprite2D &obj)
surface = SDL_ConvertSurface(obj.surface, obj.surface->format, obj.surface->flags);
pixels = surface->pixels;
colorkeyIdx = obj.colorkeyIdx;
-
- SetSurfaceRLE(obj.RLE);
}
SDLSurfaceSprite2D* SDLSurfaceSprite2D::copy() const

0 comments on commit e839414

Please sign in to comment.