17 lines
378 B
C++
17 lines
378 B
C++
#include "StdAfx.h"
|
|
#include "GrpVertexBufferStatic.h"
|
|
|
|
bool CStaticVertexBuffer::Create(int vtxCount, DWORD fvf, bool /*isManaged*/)
|
|
{
|
|
// DirectX 9Ex: Use DEFAULT pool instead of MANAGED
|
|
return CGraphicVertexBuffer::Create(vtxCount, fvf, D3DUSAGE_WRITEONLY, D3DPOOL_DEFAULT);
|
|
}
|
|
|
|
CStaticVertexBuffer::CStaticVertexBuffer()
|
|
{
|
|
}
|
|
|
|
CStaticVertexBuffer::~CStaticVertexBuffer()
|
|
{
|
|
}
|