Fixed isARBBufferStorageUsable function

This commit is contained in:
Elderme
2016-06-26 11:49:29 +02:00
parent 12155ef8ee
commit 896f730827
2 changed files with 5 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ void CentralVideoSettings::init()
// Parse extensions
hasVSLayer = false;
hasBaseInstance = false;
hasBuffserStorage = false;
hasBufferStorage = false;
hasDrawIndirect = false;
hasComputeShaders = false;
hasArraysOfArrays = false;
@@ -87,7 +87,7 @@ void CentralVideoSettings::init()
if (!GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_BUFFER_STORAGE) &&
hasGLExtension("GL_ARB_buffer_storage") )
{
hasBuffserStorage = true;
hasBufferStorage = true;
Log::info("GLDriver", "ARB Buffer Storage Present");
}
if (!GraphicsRestrictions::isDisabled(GraphicsRestrictions::GR_BASE_INSTANCE) &&
@@ -272,7 +272,7 @@ bool CentralVideoSettings::isAMDVertexShaderLayerUsable() const
bool CentralVideoSettings::isARBBufferStorageUsable() const
{
return hasBuffserStorage;
return hasBufferStorage;
}
bool CentralVideoSettings::isARBComputeShaderUsable() const
@@ -312,7 +312,7 @@ bool CentralVideoSettings::isARBShaderStorageBufferObjectUsable() const
bool CentralVideoSettings::isARBImageLoadStoreUsable() const
{
return hasComputeShaders;
return hasImageLoadStore;
}
bool CentralVideoSettings::isARBMultiDrawIndirectUsable() const

View File

@@ -28,7 +28,7 @@ private:
bool hasVSLayer;
bool hasBaseInstance;
bool hasDrawIndirect;
bool hasBuffserStorage;
bool hasBufferStorage;
bool hasComputeShaders;
bool hasArraysOfArrays;
bool hasTextureStorage;