-fixed sp,e demos issues and crashes
This commit is contained in:
parent
fa0c196c60
commit
2107f3908c
9 changed files with 100 additions and 42 deletions
|
|
@ -448,6 +448,7 @@ struct Renderer
|
|||
void draw(scope ref const(DrawData) data)
|
||||
{
|
||||
if(prepared_items >= MaxObjects)return;
|
||||
if(threads[data.thread_id].blocks.length <= data.material_id)return;
|
||||
__draw(this,data);//tex,pos,size,coords,depth,color,angle,material_id,mesh_id,thread_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue