浏览代码

sokol_gfx.h: fix comment

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

+ 1 - 1
sokol_gfx.h

@@ -2938,7 +2938,7 @@ typedef struct sg_buffer_usage {
     The default configuration is:
 
     .size:      0       (*must* be >0 for buffers without data)
-    .usage              .vertex = true, .immutable = true
+    .usage              .vertex_buffer = true, .immutable = true
     .data.ptr   0       (*must* be valid for immutable buffers)
     .data.size  0       (*must* be > 0 for immutable buffers)
     .label      0       (optional string label)