Skip to content

Commit d6a9975

Browse files
edwardgushchinslouken
authored andcommitted
Fix properties name in SDL_CreateGPUDeviceWithProperties
1 parent 3dceb72 commit d6a9975

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/SDL3/SDL_gpu.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,20 +2256,20 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
22562256
*
22572257
* With the Vulkan renderer:
22582258
*
2259-
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SHADERCLIPDISTANCE_BOOL`: Enable
2259+
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SHADERCLIPDISTANCE_BOOLEAN`: Enable
22602260
* device feature shaderClipDistance. If disabled, clip distances are not
22612261
* supported in shader code: gl_ClipDistance[] built-ins of GLSL,
22622262
* SV_ClipDistance0/1 semantics of HLSL and [[clip_distance]] attribute of
22632263
* Metal. Defaults to true.
2264-
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DEPTHCLAMP_BOOL`: Enable device
2264+
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DEPTHCLAMP_BOOLEAN`: Enable device
22652265
* feature depthClamp. If disabled, there is no depth clamp support and
22662266
* enable_depth_clip in SDL_GPURasterizerState must always be set to true.
22672267
* Defaults to true.
2268-
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DRAWINDIRECTFIRST_BOOL`: Enable device
2268+
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_DRAWINDIRECTFIRST_BOOLEAN`: Enable device
22692269
* feature drawIndirectFirstInstance. If disabled, the argument
22702270
* first_instance of SDL_GPUIndirectDrawCommand must be set to zero.
22712271
* Defaults to true.
2272-
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SAMPLERANISOTROPY_BOOL`: Enable device
2272+
* - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_SAMPLERANISOTROPY_BOOLEAN`: Enable device
22732273
* feature samplerAnisotropy. If disabled, enable_anisotropy of
22742274
* SDL_GPUSamplerCreateInfo must be set to false. Defaults to true.
22752275
*

0 commit comments

Comments
 (0)