diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-11-24 04:07:42 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-11-29 01:18:13 +0100 |
commit | 22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d (patch) | |
tree | a1f747fd00fc1b348847aaae4705962921bf759c /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #1808 from Tinob/master (diff) | |
download | yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.tar yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.tar.gz yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.tar.bz2 yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.tar.lz yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.tar.xz yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.tar.zst yuzu-22c7c710b4cd35b2275b1dbbcaa400c1fbb4243d.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index a44bbfae8..f5c785467 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -88,19 +88,6 @@ RasterizerOpenGL::RasterizerOpenGL(Core::Frontend::EmuWindow& window, ScreenInfo state.texture_units[i].sampler = texture_samplers[i].sampler.handle; } - GLint ext_num; - glGetIntegerv(GL_NUM_EXTENSIONS, &ext_num); - for (GLint i = 0; i < ext_num; i++) { - const std::string_view extension{ - reinterpret_cast<const char*>(glGetStringi(GL_EXTENSIONS, i))}; - - if (extension == "GL_ARB_direct_state_access") { - has_ARB_direct_state_access = true; - } else if (extension == "GL_ARB_multi_bind") { - has_ARB_multi_bind = true; - } - } - OpenGLState::ApplyDefaultState(); // Create render framebuffer |