Skip to content

Commit

Permalink
SDLSurfaceSprite: copying the flags will set RLE
Browse files Browse the repository at this point in the history
RLE memeber is always false anyway so this would likely prevent it.
  • Loading branch information
bradallred committed Jul 4, 2013
1 parent f1219d6 commit e839414
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gemrb/plugins/SDLVideo/SDLSurfaceSprite2D.cpp
Expand Up @@ -44,8 +44,6 @@ SDLSurfaceSprite2D::SDLSurfaceSprite2D(const SDLSurfaceSprite2D &obj)
surface = SDL_ConvertSurface(obj.surface, obj.surface->format, obj.surface->flags); surface = SDL_ConvertSurface(obj.surface, obj.surface->format, obj.surface->flags);
pixels = surface->pixels; pixels = surface->pixels;
colorkeyIdx = obj.colorkeyIdx; colorkeyIdx = obj.colorkeyIdx;

SetSurfaceRLE(obj.RLE);
} }


SDLSurfaceSprite2D* SDLSurfaceSprite2D::copy() const SDLSurfaceSprite2D* SDLSurfaceSprite2D::copy() const
Expand Down

0 comments on commit e839414

Please sign in to comment.