From 55c2a017449edf9e4d4c7968013fe19d8cee6cd4 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 19 Feb 2013 21:24:08 -0600 Subject: [PATCH] Check for sampler object support, just to be nice. --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 9fc6773c5b..9670cc67d0 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -248,6 +248,12 @@ Renderer::Renderer() bSuccess = false; } + if (!GLEW_ARB_sampler_objects) + { + ERROR_LOG(VIDEO, "GPU: OGL ERROR: Need GL_ARB_sampler_objects."); + bSuccess = false; + } + s_bHaveCoverageMSAA = GLEW_NV_framebuffer_multisample_coverage; g_Config.backend_info.bSupportsDualSourceBlend = GLEW_ARB_blend_func_extended;