don't use hardware buffers by default

This commit is contained in:
Eduardo Bart
2012-04-20 10:18:33 -03:00
parent d006e52c78
commit affcd03e06
2 changed files with 4 additions and 4 deletions

View File

@@ -123,8 +123,8 @@ bool Graphics::parseOption(const std::string& option)
m_useHardwareMipmaps = false;
else if(option == "-no-smooth")
m_useBilinearFiltering = false;
else if(option == "-no-hardware-buffers")
m_useHardwareBuffers = false;
else if(option == "-hardware-buffers")
m_useHardwareBuffers = true;
else if(option == "-no-non-power-of-two-textures")
m_useNonPowerOfTwoTextures = false;
else if(option == "-no-clamp-to-edge")
@@ -271,7 +271,7 @@ bool Graphics::canUseBilinearFiltering()
bool Graphics::canUseHardwareBuffers()
{
#if OPENGL_ES==2
return true;
return m_useHardwareBuffers;
#elif OPENGL_ES==1
// OpenGL ES 1.1 supports it but OpenGL ES 1.0 not
return false;