summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/Render.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2016-08-12 13:55:35 +0200
committerJules Blok <jules.blok@gmail.com>2016-08-15 13:11:30 +0200
commit8c1c7fc2da65eea1a8244ce196d94313f7fdfb1b (patch)
treeb6838c764341f9852fd05a1a218a69d8163ffaf2 /Source/Core/VideoBackends/OGL/Render.cpp
parent959d1879e578c1f29e8c95be445fa349b572191d (diff)
Cosmetics.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/Render.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp
index 77e3356255..a47f0c1e40 100644
--- a/Source/Core/VideoBackends/OGL/Render.cpp
+++ b/Source/Core/VideoBackends/OGL/Render.cpp
@@ -482,8 +482,9 @@ Renderer::Renderer()
GLExtensions::Supports("GL_ARB_shading_language_420pack");
// Clip distance support is useless without a method to clamp the depth range
- g_Config.backend_info.bSupportsDepthClamp = GLExtensions::Supports("GL_ARB_depth_clamp") &&
- !DriverDetails::HasBug(DriverDetails::BUG_BROKENCLIPDISTANCE);
+ g_Config.backend_info.bSupportsDepthClamp =
+ GLExtensions::Supports("GL_ARB_depth_clamp") &&
+ !DriverDetails::HasBug(DriverDetails::BUG_BROKENCLIPDISTANCE);
g_ogl_config.bSupportsGLSLCache = GLExtensions::Supports("GL_ARB_get_program_binary");
g_ogl_config.bSupportsGLPinnedMemory = GLExtensions::Supports("GL_AMD_pinned_memory");
@@ -524,7 +525,8 @@ Renderer::Renderer()
g_ogl_config.bSupportsGLSLCache = true;
g_ogl_config.bSupportsGLSync = true;
- // TODO: Implement support for GL_EXT_clip_cull_distance when there is an extension for depth clamping.
+ // TODO: Implement support for GL_EXT_clip_cull_distance when there is an extension for
+ // depth clamping.
g_Config.backend_info.bSupportsDepthClamp = false;
if (strstr(g_ogl_config.glsl_version, "3.0"))