From bc38892db793f54307ef1e34decd5cad5c28b513 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 3 Nov 2015 18:50:44 +0100 Subject: [PATCH] DriverDetails: remove BUG_BROKENINFOLOG leftovers It was removed in 961873827853891aba6bc43243c01bf70e2c1f4b. --- Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp | 3 --- Source/Core/VideoCommon/DriverDetails.h | 1 - 2 files changed, 4 deletions(-) diff --git a/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp b/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp index 52baa54523..a8bc0e6e3c 100644 --- a/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp +++ b/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp @@ -353,9 +353,6 @@ GLuint ProgramShaderCache::CompileSingleShader(GLuint type, const char* code) GLsizei length = 0; glGetShaderiv(result, GL_INFO_LOG_LENGTH, &length); - if (DriverDetails::HasBug(DriverDetails::BUG_BROKENINFOLOG)) - length = 1024; - if (compileStatus != GL_TRUE || (length > 1 && DEBUG_GLSL)) { GLsizei charsWritten; diff --git a/Source/Core/VideoCommon/DriverDetails.h b/Source/Core/VideoCommon/DriverDetails.h index 1d49717499..638a298939 100644 --- a/Source/Core/VideoCommon/DriverDetails.h +++ b/Source/Core/VideoCommon/DriverDetails.h @@ -58,7 +58,6 @@ namespace DriverDetails // This'll ensure we know exactly what the issue is. enum Bug { - BUG_BROKENINFOLOG, // Bug: UBO buffer offset broken // Affected devices: all mesa drivers // Started Version: 9.0 (mesa doesn't support ubo before)