mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
Don't unlock a surface we didn't lock
This commit is contained in:
@@ -356,8 +356,6 @@ SDL_FillRect(SDL_Surface * dst, SDL_Rect * dstrect, Uint32 color)
|
||||
}
|
||||
}
|
||||
|
||||
SDL_UnlockSurface(dst);
|
||||
|
||||
/* We're done! */
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user