mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-22 19:18:30 +00:00
Rename parameter of type SDL_CameraID from devid to instance_id
This commit is contained in:

committed by
Sam Lantinga

parent
36758d70c9
commit
31364477f2
@@ -239,7 +239,7 @@ extern SDL_DECLSPEC SDL_CameraID * SDLCALL SDL_GetCameras(int *count);
|
|||||||
* there _is_ a camera until the user has given you permission to check
|
* there _is_ a camera until the user has given you permission to check
|
||||||
* through a scary warning popup.
|
* through a scary warning popup.
|
||||||
*
|
*
|
||||||
* \param devid the camera device instance ID to query.
|
* \param instance_id the camera device instance ID.
|
||||||
* \param count a pointer filled in with the number of elements in the list,
|
* \param count a pointer filled in with the number of elements in the list,
|
||||||
* may be NULL.
|
* may be NULL.
|
||||||
* \returns a NULL terminated array of pointers to SDL_CameraSpec or NULL on
|
* \returns a NULL terminated array of pointers to SDL_CameraSpec or NULL on
|
||||||
@@ -254,7 +254,7 @@ extern SDL_DECLSPEC SDL_CameraID * SDLCALL SDL_GetCameras(int *count);
|
|||||||
* \sa SDL_GetCameras
|
* \sa SDL_GetCameras
|
||||||
* \sa SDL_OpenCamera
|
* \sa SDL_OpenCamera
|
||||||
*/
|
*/
|
||||||
extern SDL_DECLSPEC SDL_CameraSpec ** SDLCALL SDL_GetCameraSupportedFormats(SDL_CameraID devid, int *count);
|
extern SDL_DECLSPEC SDL_CameraSpec ** SDLCALL SDL_GetCameraSupportedFormats(SDL_CameraID instance_id, int *count);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the human-readable device name for a camera.
|
* Get the human-readable device name for a camera.
|
||||||
|
Reference in New Issue
Block a user