mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: disable accurate option if driver doesn't support it
This commit is contained in:
parent
7fac25edb0
commit
3c7a3a3d83
|
@ -493,12 +493,25 @@ namespace GLLoader {
|
|||
if (!found_GL_ARB_direct_state_access) {
|
||||
Emulate_DSA::Init();
|
||||
}
|
||||
|
||||
if (gl_BindTextureUnit == NULL) {
|
||||
fprintf(stderr, "FATAL ERROR !!!! Failed to setup DSA function pointer!!!\n");
|
||||
status = false;
|
||||
}
|
||||
|
||||
if (!found_GL_ARB_texture_barrier) {
|
||||
if (theApp.GetConfig("accurate_blend", 0)) {
|
||||
fprintf(stderr, "Error GL_ARB_texture_barrier is not supported by your driver so you can't enable accurate_blend! Sorry.\n");
|
||||
theApp.SetConfig("accurate_blend", 0);
|
||||
}
|
||||
}
|
||||
if (!found_GL_ARB_shader_image_load_store) {
|
||||
if (theApp.GetConfig("accurate_date", 0)) {
|
||||
fprintf(stderr, "Error GL_ARB_shader_image_load_store is not supported by your driver so you can't enable accurate_date! Sorry.\n");
|
||||
theApp.SetConfig("accurate_date", 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue