mirror of https://github.com/PCSX2/pcsx2.git
GSdx-ogl: Fix GSdx crashing on Intel igpus
Regression was introduced in #1954 GSdx caused the emulator to crash when the renderer was restarted. It may have affected older gpus from nvidia/amd with older OpenGL support as well.
This commit is contained in:
parent
91d8e7c7c6
commit
f14c78cf12
|
@ -454,17 +454,19 @@ namespace GLLoader {
|
|||
"Check out the link below for further information.\n"
|
||||
"https://github.com/PCSX2/pcsx2/wiki/OpenGL-and-Intel-GPUs-All-you-need-to-know\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (!found_GL_ARB_viewport_array) {
|
||||
if (!found_GL_ARB_viewport_array) {
|
||||
glScissorIndexed = ReplaceGL::ScissorIndexed;
|
||||
glViewportIndexedf = ReplaceGL::ViewportIndexedf;
|
||||
if (s_first_load)
|
||||
fprintf(stderr, "GL_ARB_viewport_array is not supported! Function pointer will be replaced\n");
|
||||
glScissorIndexed = ReplaceGL::ScissorIndexed;
|
||||
glViewportIndexedf = ReplaceGL::ViewportIndexedf;
|
||||
}
|
||||
}
|
||||
|
||||
if (!found_GL_ARB_texture_barrier) {
|
||||
if (!found_GL_ARB_texture_barrier) {
|
||||
glTextureBarrier = ReplaceGL::TextureBarrier;
|
||||
if (s_first_load)
|
||||
fprintf(stderr, "GL_ARB_texture_barrier is not supported! Blending emulation will not be supported\n");
|
||||
glTextureBarrier = ReplaceGL::TextureBarrier;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in New Issue