mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
more fixing
This commit is contained in:
parent
e6fb16576b
commit
2eb10f323f
@ -2786,13 +2786,13 @@ draw_tristrips(const qpGeomTristrips *primitive) {
|
||||
|
||||
_pD3DDevice->DrawIndexedPrimitive
|
||||
(D3DPT_TRIANGLESTRIP,
|
||||
min_vertex, max_vertex + 1,
|
||||
min_vertex, max_vertex - min_vertex + 1,
|
||||
0, primitive->get_num_vertices() - 2);
|
||||
|
||||
} else {
|
||||
_pD3DDevice->DrawIndexedPrimitiveUP
|
||||
(D3DPT_TRIANGLESTRIP,
|
||||
min_vertex, max_vertex + 1,
|
||||
min_vertex, max_vertex - min_vertex + 1,
|
||||
primitive->get_num_vertices() - 2,
|
||||
primitive->get_data(), index_type,
|
||||
_vertex_data->get_array(0)->get_data(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user