mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-18 07:41:45 +00:00
Fixed documentation typos
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
*
|
*
|
||||||
* A basic workflow might be something like this:
|
* A basic workflow might be something like this:
|
||||||
*
|
*
|
||||||
* The app creates a GPU device with SDL_GPUCreateDevice(), and assigns it to
|
* The app creates a GPU device with SDL_CreateGPUDevice(), and assigns it to
|
||||||
* a window with SDL_ClaimWindowForGPUDevice()--although strictly speaking you
|
* a window with SDL_ClaimWindowForGPUDevice()--although strictly speaking you
|
||||||
* can render offscreen entirely, perhaps for image processing, and not use a
|
* can render offscreen entirely, perhaps for image processing, and not use a
|
||||||
* window at all.
|
* window at all.
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
* command buffer is done processing, it is safe to read the downloaded data.
|
* command buffer is done processing, it is safe to read the downloaded data.
|
||||||
* Make sure to call SDL_ReleaseGPUFence() when done with the fence.
|
* Make sure to call SDL_ReleaseGPUFence() when done with the fence.
|
||||||
*
|
*
|
||||||
* The API also has "compute" support. The app calls SDL_GPUBeginComputePass()
|
* The API also has "compute" support. The app calls SDL_BeginGPUComputePass()
|
||||||
* with compute-writeable textures and/or buffers, which can be written to in
|
* with compute-writeable textures and/or buffers, which can be written to in
|
||||||
* a compute shader. Then it sets states it needs for the compute dispatches:
|
* a compute shader. Then it sets states it needs for the compute dispatches:
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user