wined3d: Mark a vertex buffer dirty after VBO creation.

This commit is contained in:
Stefan Dösinger 2008-02-15 20:00:06 +01:00 committed by Alexandre Julliard
parent 220d9eb44c
commit 7b297890a7
1 changed files with 3 additions and 0 deletions

View File

@ -474,6 +474,9 @@ static void CreateVBO(IWineD3DVertexBufferImpl *This) {
}
This->vbo_size = This->resource.size;
This->vbo_usage = glUsage;
This->dirtystart = 0;
This->dirtyend = This->resource.size;
This->Flags |= VBFLAG_DIRTY;
LEAVE_GL();