- removed the Bind function from FFlatVertexBuffer.
This is not flexible enough. There was already one place where this was not supposed to go through the render state. The new interface allows more general use of the contained buffer objects.
This commit is contained in:
parent
fa498611f8
commit
48bc5550d7
10 changed files with 23 additions and 22 deletions
|
|
@ -411,18 +411,6 @@ void FFlatVertexBuffer::Copy(int start, int count)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void FFlatVertexBuffer::Bind(FRenderState &state)
|
||||
{
|
||||
state.SetVertexBuffer(mVertexBuffer, 0, 0);
|
||||
state.SetIndexBuffer(mIndexBuffer);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FFlatVertexBuffer::CreateVBO()
|
||||
{
|
||||
vbo_shadowdata.Resize(mNumReserved);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue