浏览代码

Add point size support to sokol_gl.h (#581)

Andre Weissflog 3 年之前
父节点
当前提交
23adfde98e
共有 2 个文件被更改,包括 528 次插入519 次删除
  1. 6 0
      CHANGELOG.md
  2. 522 519
      util/sokol_gl.h

+ 6 - 0
CHANGELOG.md

@@ -1,5 +1,11 @@
 ## Updates
 
+- **18-Nov-2021**: sokol_gl.h has a new function to control the point size for
+  point list rendering: ```void sgl_point_size(float size)```. Note that on D3D11
+  the point size is currently ignored (since D3D11 doesn't support a point size at
+  all, the feature will need to be emulated in sokol_gl.h when the D3D11 is active).
+  Also note that points cannot currently be textured, only colored.
+
 - **08-Oct-2021**: texture compression support in sokol_gfx.h has been revisited:
     - tighter validation checks on texture creation:
         - content data validation now also happens in ```sg_make_image()``` (previously only in ```sg_update_image()```)

文件差异内容过多而无法显示
+ 522 - 519
util/sokol_gl.h


部分文件因为文件数量过多而无法显示