Adjust a memory preference

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
parent 85542abbfe
commit b5b0ec45ca

@ -312,7 +312,7 @@ void CWaterEnvMap::renderTestMesh(IDriver &driver)
// ******************************************************************************* // *******************************************************************************
void CWaterEnvMap::initFlattenVB() void CWaterEnvMap::initFlattenVB()
{ {
_FlattenVB.setPreferredMemory(CVertexBuffer::AGPPreferred, true); _FlattenVB.setPreferredMemory(CVertexBuffer::StaticPreferred, true);
_FlattenVB.setName("Flatten VB"); _FlattenVB.setName("Flatten VB");
_FlattenVB.clearValueEx(); _FlattenVB.clearValueEx();
_FlattenVB.addValueEx (CVertexBuffer::Position, CVertexBuffer::Float3); _FlattenVB.addValueEx (CVertexBuffer::Position, CVertexBuffer::Float3);
@ -395,7 +395,7 @@ void CWaterEnvMap::invalidate()
// ******************************************************************************* // *******************************************************************************
void CWaterEnvMap::initTestVB() void CWaterEnvMap::initTestVB()
{ {
_TestVB.setPreferredMemory(CVertexBuffer::AGPPreferred, true); _TestVB.setPreferredMemory(CVertexBuffer::StaticPreferred, true);
_TestVB.setName("TestVB"); _TestVB.setName("TestVB");
_TestVB.clearValueEx(); _TestVB.clearValueEx();
_TestVB.addValueEx (CVertexBuffer::Position, CVertexBuffer::Float3); _TestVB.addValueEx (CVertexBuffer::Position, CVertexBuffer::Float3);

Loading…
Cancel
Save