gsdx-egl: Also do the same for egl pointer logs.

This commit is contained in:
lightningterror 2019-02-09 11:16:51 +01:00
parent cc6ac657f8
commit 7406e13028
1 changed files with 3 additions and 1 deletions

View File

@ -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) {
fprintf(stderr, "Failed to find %s\n", name); if (theApp.GetConfigB("debug_opengl"))
fprintf(stderr, "Failed to find %s\n", name);
if (!opt) if (!opt)
throw GSDXRecoverableError(); throw GSDXRecoverableError();
} }