mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-25 11:07:54 +08:00
tune
This commit is contained in:
+1
-2
@@ -290,8 +290,7 @@ int GAL_CalculateBlit(GAL_Surface *surface)
|
||||
if(surface->flags & GAL_RLEACCELOK
|
||||
&& (surface->flags & GAL_HWACCEL) != GAL_HWACCEL) {
|
||||
|
||||
if(surface->map->identity
|
||||
&& (blit_index == 1
|
||||
if(surface->map->identity && (blit_index == 1
|
||||
|| (blit_index == 3 && !surface->format->Amask))) {
|
||||
if ( GAL_RLESurface(surface) == 0 )
|
||||
surface->map->sw_blit = GAL_RLEBlit;
|
||||
|
||||
Reference in New Issue
Block a user