Remove redundant semicolons.
[ci skip]
This commit is contained in:
committed by
Sam Lantinga
parent
53ee410d7a
commit
836dad75ae
@@ -139,7 +139,7 @@ static bool VITACAMERA_OpenDevice(SDL_Camera *device, const SDL_CameraSpec *spec
|
|||||||
info->format = SCE_CAMERA_FORMAT_YUV420_PLANE;
|
info->format = SCE_CAMERA_FORMAT_YUV420_PLANE;
|
||||||
info->pitch = 0; // same size surface
|
info->pitch = 0; // same size surface
|
||||||
|
|
||||||
info->sizeIBase = spec->width * spec->height;;
|
info->sizeIBase = spec->width * spec->height;
|
||||||
info->sizeUBase = ((spec->width+1)/2) * ((spec->height+1) / 2);
|
info->sizeUBase = ((spec->width+1)/2) * ((spec->height+1) / 2);
|
||||||
info->sizeVBase = ((spec->width+1)/2) * ((spec->height+1) / 2);
|
info->sizeVBase = ((spec->width+1)/2) * ((spec->height+1) / 2);
|
||||||
|
|
||||||
|
|||||||
@@ -458,7 +458,7 @@ static size_t SDLCALL fd_read(void *userdata, void *ptr, size_t size, SDL_IOStat
|
|||||||
} else if (result == 0) {
|
} else if (result == 0) {
|
||||||
*status = SDL_IO_STATUS_EOF;
|
*status = SDL_IO_STATUS_EOF;
|
||||||
} else if (result < size) {
|
} else if (result < size) {
|
||||||
*status = SDL_IO_STATUS_NOT_READY;;
|
*status = SDL_IO_STATUS_NOT_READY;
|
||||||
}
|
}
|
||||||
return (size_t)bytes;
|
return (size_t)bytes;
|
||||||
}
|
}
|
||||||
@@ -496,7 +496,7 @@ static size_t SDLCALL fd_write(void *userdata, const void *ptr, size_t size, SDL
|
|||||||
bytes = 0;
|
bytes = 0;
|
||||||
}
|
}
|
||||||
} else if (result < size) {
|
} else if (result < size) {
|
||||||
*status = SDL_IO_STATUS_NOT_READY;;
|
*status = SDL_IO_STATUS_NOT_READY;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (size_t)bytes;
|
return (size_t)bytes;
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ static SDL_Cursor *X11_CreateAnimatedCursor(SDL_CursorFrameInfo *frames, int num
|
|||||||
x11_cursor = X11_CreatePixmapCursor(frames[0].surface, hot_x, hot_y);
|
x11_cursor = X11_CreatePixmapCursor(frames[0].surface, hot_x, hot_y);
|
||||||
}
|
}
|
||||||
|
|
||||||
return X11_CreateCursorAndData(x11_cursor);;
|
return X11_CreateCursorAndData(x11_cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int GetLegacySystemCursorShape(SDL_SystemCursor id)
|
static unsigned int GetLegacySystemCursorShape(SDL_SystemCursor id)
|
||||||
|
|||||||
Reference in New Issue
Block a user