mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: Enable function pointer support logs only when "debug_opengl" is enabled in the ini.
They are mostly for debugging driver issues so regular users don't actually need to see them most of the time.
This commit is contained in:
parent
6e49139d0e
commit
cc6ac657f8
|
@ -186,7 +186,9 @@ void* GSWndOGL::GetProcAddress(const char* name, bool opt)
|
|||
{
|
||||
void* ptr = (void*)glXGetProcAddress((const GLubyte*)name);
|
||||
if (ptr == NULL) {
|
||||
fprintf(stderr, "Failed to find %s\n", name);
|
||||
if (theApp.GetConfigB("debug_opengl"))
|
||||
fprintf(stderr, "Failed to find %s\n", name);
|
||||
|
||||
if (!opt)
|
||||
throw GSDXRecoverableError();
|
||||
}
|
||||
|
|
|
@ -327,7 +327,9 @@ void* GSWndWGL::GetProcAddress(const char* name, bool opt)
|
|||
}
|
||||
#endif
|
||||
if (ptr == NULL) {
|
||||
fprintf(stderr, "Failed to find %s\n", name);
|
||||
if (theApp.GetConfigB("debug_opengl"))
|
||||
fprintf(stderr, "Failed to find %s\n", name);
|
||||
|
||||
if (!opt)
|
||||
throw GSDXRecoverableError();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue