Просмотр исходного кода

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 4 недель назад
Родитель
Сommit
8e8596b91a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/SDL3/SDL_gpu.h

+ 1 - 1
include/SDL3/SDL_gpu.h

@@ -3164,7 +3164,7 @@ extern SDL_DECLSPEC SDL_GPUTexture * SDLCALL SDL_CreateGPUTexture(
  * Note that certain combinations of usage flags are invalid. For example, a
  * buffer cannot have both the VERTEX and INDEX flags.
  *
- * If you use a STORAGE flag, the data in the buffer must respect std140
+ * If you use a STORAGE flag, the data in the buffer must respect std430
  * layout conventions. In practical terms this means you must ensure that vec3
  * and vec4 fields are 16-byte aligned.
  *