From 9b48fb0c5a6ea9decafaf6df54ade1c58ef5e143 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 4 Jun 2014 16:06:16 +0200 Subject: [PATCH] Change default for 'setStaticMemoryToVRAM' --HG-- branch : opengl3 --- code/nel/include/nel/3d/driver.h | 2 +- code/nel/src/3d/driver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/include/nel/3d/driver.h b/code/nel/include/nel/3d/driver.h index f118cca84..d76133b7d 100644 --- a/code/nel/include/nel/3d/driver.h +++ b/code/nel/include/nel/3d/driver.h @@ -569,7 +569,7 @@ public: bool getStaticMemoryToVRAM() const { return _StaticMemoryToVRAM; } /* Set to true if static vertex and index buffers must by allocated in VRAM, false in AGP. - * Default is false. + * Default is true. */ void setStaticMemoryToVRAM(bool staticMemoryToVRAM); diff --git a/code/nel/src/3d/driver.cpp b/code/nel/src/3d/driver.cpp index 2bfb0ea1f..4ec555dd3 100644 --- a/code/nel/src/3d/driver.cpp +++ b/code/nel/src/3d/driver.cpp @@ -38,7 +38,7 @@ const uint32 IDriver::InterfaceVersion = 0x6d; // gpu program interface IDriver::IDriver() : _SyncTexDrvInfos( "IDriver::_SyncTexDrvInfos" ) { _PolygonMode= Filled; - _StaticMemoryToVRAM=false; + _StaticMemoryToVRAM=true; _ResetCounter=0; }