mirror of https://github.com/PCSX2/pcsx2.git
gsdx-egl: Also do the same for egl pointer logs.
This commit is contained in:
parent
cc6ac657f8
commit
7406e13028
|
@ -218,7 +218,9 @@ void* GSWndEGL::GetProcAddress(const char* name, bool opt)
|
||||||
{
|
{
|
||||||
void* ptr = (void*)eglGetProcAddress(name);
|
void* ptr = (void*)eglGetProcAddress(name);
|
||||||
if (ptr == nullptr) {
|
if (ptr == nullptr) {
|
||||||
|
if (theApp.GetConfigB("debug_opengl"))
|
||||||
fprintf(stderr, "Failed to find %s\n", name);
|
fprintf(stderr, "Failed to find %s\n", name);
|
||||||
|
|
||||||
if (!opt)
|
if (!opt)
|
||||||
throw GSDXRecoverableError();
|
throw GSDXRecoverableError();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue