Files
raylib/src
Ray 186d34827a Align LINES and TRIANGLES drawing
When drawing LINES or TRIANGLES, vertex are accumulated in same buffer as QUADS and new draw calls are registered but QUADS drawing uses an index buffer for optimization, so, when adding LINES/TRIANGLES vertices we need to make sure next draw calls for QUADS keep aligned with indices buffer.

To get that we just add some alignment vertex at the end of the LINES/TRIANGLES draw calls, to make them multiple of 4 vertex.
2019-03-28 18:05:32 +01:00
..
2018-08-05 23:53:34 +02:00
2019-03-25 12:30:20 +01:00
2017-03-19 12:52:58 +01:00
2019-03-08 15:06:17 -03:00
2019-03-20 10:57:41 +01:00
2019-03-17 11:58:02 +01:00
2018-09-26 16:02:42 +02:00
2018-09-26 16:02:42 +02:00
2018-10-24 22:24:59 +02:00
2019-01-08 10:10:20 +01:00
2019-03-28 18:05:32 +01:00
2019-03-28 13:03:25 +01:00
2019-02-28 23:06:37 +01:00
2019-03-17 11:58:02 +01:00
2019-03-12 16:00:26 +01:00
2018-09-17 16:56:02 +02:00