瀏覽代碼

Updated documentation for SDL_HINT_GPU_DRIVER

(cherry picked from commit 3aed80cd82d25a73aeb23f89e183e617686940ed)
Sam Lantinga 10 月之前
父節點
當前提交
1543f523b7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/SDL3/SDL_hints.h

+ 2 - 2
include/SDL3/SDL_hints.h

@@ -1074,8 +1074,8 @@ extern "C" {
  *
  * By default, SDL will try all available GPU backends in a reasonable order
  * until it finds one that can work, but this hint allows the app or user to
- * force a specific target, such as "direct3d11" if, say, your hardware
- * supports D3D12 but want to try using D3D11 instead.
+ * force a specific target, such as "direct3d12" if, say, your hardware
+ * supports Vulkan but you want to try using D3D12 instead.
  *
  * This hint should be set before any GPU functions are called.
  *