Files
m2dev-client-src/src/EterLib/GrpVertexBufferStatic.cpp
2025-09-19 16:12:33 +03:00

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()
{
}