mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 21:25:37 +00:00
Removed empty statements.
This commit is contained in:
parent
a24745f48d
commit
83200a3225
|
@ -485,7 +485,7 @@ GetSupportedFeatures(SDL_Haptic * haptic)
|
||||||
supported |= SDL_HAPTIC_STATUS | SDL_HAPTIC_PAUSE;
|
supported |= SDL_HAPTIC_STATUS | SDL_HAPTIC_PAUSE;
|
||||||
|
|
||||||
haptic->supported = supported;
|
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 (flipx) dx = sw - dx;
|
||||||
if (flipy) dy = sh - dy;
|
if (flipy) dy = sh - dy;
|
||||||
if ((dx > -1) && (dy > -1) && (dx < (src->w-1)) && (dy < (src->h-1))) {
|
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 += ((src->pitch/4) * dy);
|
||||||
sp += dx;
|
sp += dx;
|
||||||
c00 = *sp;
|
c00 = *sp;
|
||||||
|
|
|
@ -54,7 +54,7 @@ int main(int argc,char** argv)
|
||||||
int button_down;
|
int button_down;
|
||||||
Uint32 pixelFormat = 0;
|
Uint32 pixelFormat = 0;
|
||||||
int access = 0;
|
int access = 0;
|
||||||
SDL_Rect texture_dimensions;;
|
SDL_Rect texture_dimensions;
|
||||||
|
|
||||||
/* Enable standard application logging */
|
/* Enable standard application logging */
|
||||||
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
|
SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
|
||||||
|
|
Loading…
Reference in a new issue