Correct polyline terminator documentation in GPU
This commit is contained in:
parent
a0c1fc70fe
commit
281ad87972
@ -230,10 +230,10 @@ Color xxBBGGRR - optional, only present for gouraud shading
|
|||||||
Vertex YYYYXXXX - required, two signed 16 bits values
|
Vertex YYYYXXXX - required, two signed 16 bits values
|
||||||
```
|
```
|
||||||
|
|
||||||
When the polyline mode is active, then there is no fixed amount of words
|
When polyline mode is active, at least two vertices must be sent to the GPU.
|
||||||
to be sent. The last word will have a magic value, which will usually be
|
The vertex list is terminated by the bits 12-15 and 28-31 equaling `0x5`, or
|
||||||
55555555, but also sometimes 50005000. Note that the magic value can then
|
`(word & 0xF000F000) == 0x50005000`. The terminator value occurs on the first
|
||||||
either be for the color word, or the vertex word.
|
word of the vertex (i.e. the color word if it's a gouraud shaded).
|
||||||
|
|
||||||
|
|
||||||
#### Note
|
#### Note
|
||||||
|
Loading…
Reference in New Issue
Block a user