Explorar el Código

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

Andre Weissflog hace 3 años
padre
commit
23adfde98e
Se han modificado 2 ficheros con 528 adiciones y 519 borrados
  1. 6 0
      CHANGELOG.md
  2. 522 519
      util/sokol_gl.h

+ 6 - 0
CHANGELOG.md

@@ -1,5 +1,11 @@
 ## Updates
 ## 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:
 - **08-Oct-2021**: texture compression support in sokol_gfx.h has been revisited:
     - tighter validation checks on texture creation:
     - tighter validation checks on texture creation:
         - content data validation now also happens in ```sg_make_image()``` (previously only in ```sg_update_image()```)
         - content data validation now also happens in ```sg_make_image()``` (previously only in ```sg_update_image()```)

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 522 - 519
util/sokol_gl.h


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio