mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix for windows
This commit is contained in:
parent
dbed74e410
commit
bc7c0698be
@ -2620,9 +2620,9 @@ begin_draw_primitives(const qpGeomVertexData *vertex_data) {
|
||||
// the first array.
|
||||
const qpGeomVertexArrayData *data = _vertex_data->get_array(0);
|
||||
|
||||
VertexBufferContext *dc = ((qpGeomVertexArrayData *)data)->prepare_now(get_prepared_objects(), this);
|
||||
nassertr(dc != (VertexBufferContext *)NULL, false);
|
||||
apply_data(dc);
|
||||
VertexBufferContext *vbc = ((qpGeomVertexArrayData *)data)->prepare_now(get_prepared_objects(), this);
|
||||
nassertr(vbc != (VertexBufferContext *)NULL, false);
|
||||
apply_vertex_buffer(vbc);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user