summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GeometryShaderGen.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2016-08-05 22:31:34 +0200
committerJules Blok <jules.blok@gmail.com>2016-08-15 13:11:26 +0200
commita141e91dd226885fc767d009938ca61a22f86558 (patch)
tree3b55820cbda0ba34278a4cc340f8e70ab07a3ce5 /Source/Core/VideoCommon/GeometryShaderGen.cpp
parent4582853af48f67047e57b997bf923488bf444931 (diff)
OGL: Check for GL_DEPTH_CLAMP support.
It's not available in OpenGL ES and officially it's not supported on OpenGL 3.0/3.1. Fallback to old depth range code if there is no method to disable depth clipping. It's more important to have correct clipping than to have accurate depth values. Inaccurate depth values can be fixed by slow depth.
Diffstat (limited to 'Source/Core/VideoCommon/GeometryShaderGen.cpp')
0 files changed, 0 insertions, 0 deletions