wined3d: Remove VBFLAG_LOAD.

oldstable
Stefan Dösinger 2008-02-15 20:02:07 +01:00 committed by Alexandre Julliard
parent 68fa3524f8
commit 8c758a62e8
2 changed files with 4 additions and 9 deletions

View File

@ -499,10 +499,6 @@ static void WINAPI IWineD3DVertexBufferImpl_PreLoad(IWineD3DVertexBuffer *if
int i, j;
TRACE("(%p)->()\n", This);
if(This->Flags & VBFLAG_LOAD) {
return; /* Already doing that stuff */
}
if(!This->vbo) {
/* TODO: Make converting independent from VBOs */
if(This->Flags & VBFLAG_CREATEVBO) {

View File

@ -951,11 +951,10 @@ typedef struct IWineD3DVertexBufferImpl
extern const IWineD3DVertexBufferVtbl IWineD3DVertexBuffer_Vtbl;
#define VBFLAG_LOAD 0x01 /* Data is written from allocatedMemory to the VBO */
#define VBFLAG_OPTIMIZED 0x02 /* Optimize has been called for the VB */
#define VBFLAG_DIRTY 0x04 /* Buffer data has been modified */
#define VBFLAG_HASDESC 0x08 /* A vertex description has been found */
#define VBFLAG_CREATEVBO 0x10 /* Attempt to create a VBO next PreLoad */
#define VBFLAG_OPTIMIZED 0x01 /* Optimize has been called for the VB */
#define VBFLAG_DIRTY 0x02 /* Buffer data has been modified */
#define VBFLAG_HASDESC 0x04 /* A vertex description has been found */
#define VBFLAG_CREATEVBO 0x08 /* Attempt to create a VBO next PreLoad */
/*****************************************************************************
* IWineD3DIndexBuffer implementation structure (extends IWineD3DResourceImpl)