Check for sampler object support, just to be nice.

This commit is contained in:
Jordan Woyak 2013-02-19 21:24:08 -06:00
parent f2647a1216
commit 55c2a01744
1 changed files with 6 additions and 0 deletions

View File

@ -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;