Merge pull request #444 from wethu/wethu-docs-minor-fix-example-numbering

Fix numbering - opengl matrix uniform examples (docs)
This commit is contained in:
Recep Aslantas
2025-01-30 23:10:03 +03:00
committed by GitHub

View File

@@ -34,7 +34,7 @@ array of matrices:
/* ... */ /* ... */
glUniformMatrix4fv(location, count, GL_FALSE, matrix[0][0]); glUniformMatrix4fv(location, count, GL_FALSE, matrix[0][0]);
1. Cast matrix to pointer 2. Cast matrix to pointer
-------------------------- --------------------------
.. code-block:: c .. code-block:: c