aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-09-25 19:55:30 -0300
committerAc_K <Acoustik666@gmail.com>2018-09-26 00:55:30 +0200
commit2562ca6c3fe6ef328e0926c9cbcd6bb52abb328f (patch)
treed4719ba44b7094cf4e8cf11db858b323644fd44a /Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs
parent7de7b559adc1924d3ff31cc58b281f70e468155f (diff)
Fix multiple rendertargets (#427)
* Simplify render target bindings * Implement multiple viewports * Pack glViewportIndexed calls into a single glViewportArray * Use ARB_viewport_array when available * Cache framebuffer attachments * Use get accessors in OGLExtension * Address feedback
Diffstat (limited to 'Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs')
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs
index 73d37b87..efcb7e34 100644
--- a/Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs
+++ b/Ryujinx.Graphics/Gal/OpenGL/OGLShader.cs
@@ -133,7 +133,7 @@ namespace Ryujinx.Graphics.Gal.OpenGL
{
//Enhanced layouts are required for Geometry shaders
//skip this stage if current driver has no ARB_enhanced_layouts
- if (!OGLExtension.HasEnhancedLayouts())
+ if (!OGLExtension.EnhancedLayouts)
{
return;
}