wined3d: Mark a vertex buffer dirty after VBO creation.
This commit is contained in:
parent
220d9eb44c
commit
7b297890a7
|
@ -474,6 +474,9 @@ static void CreateVBO(IWineD3DVertexBufferImpl *This) {
|
||||||
}
|
}
|
||||||
This->vbo_size = This->resource.size;
|
This->vbo_size = This->resource.size;
|
||||||
This->vbo_usage = glUsage;
|
This->vbo_usage = glUsage;
|
||||||
|
This->dirtystart = 0;
|
||||||
|
This->dirtyend = This->resource.size;
|
||||||
|
This->Flags |= VBFLAG_DIRTY;
|
||||||
|
|
||||||
LEAVE_GL();
|
LEAVE_GL();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue