mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 05:57:44 +00:00
Removed empty statements.
This commit is contained in:
@@ -485,7 +485,7 @@ GetSupportedFeatures(SDL_Haptic * haptic)
|
||||
supported |= SDL_HAPTIC_STATUS | SDL_HAPTIC_PAUSE;
|
||||
|
||||
haptic->supported = supported;
|
||||
return 0;;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ _transformSurfaceRGBA(SDL_Surface * src, SDL_Surface * dst, int cx, int cy, int
|
||||
if (flipx) dx = sw - dx;
|
||||
if (flipy) dy = sh - dy;
|
||||
if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) {
|
||||
sp = (tColorRGBA *)src->pixels;;
|
||||
sp = (tColorRGBA *)src->pixels;
|
||||
sp += ((src->pitch/4) * dy);
|
||||
sp += dx;
|
||||
c00 = *sp;
|
||||
|
||||
Reference in New Issue
Block a user