浏览代码

sokol_gfx.h: fix a comment typo

Andre Weissflog 1 年之前
父节点
当前提交
7f7cd64c6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sokol_gfx.h

+ 1 - 1
sokol_gfx.h

@@ -1851,7 +1851,7 @@ typedef enum sg_image_type {
     is compatible with what the shader expects. Apart from the sokol-gfx
     validation layer, WebGPU is the only backend API which actually requires
     matching texture and sampler type to be provided upfront for validation
-    (after 3D APIs treat texture/sampler type mismatches as undefined behaviour).
+    (other 3D APIs treat texture/sampler type mismatches as undefined behaviour).
 
     NOTE that the following texture pixel formats require the use
     of SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT, combined with a sampler