mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: don't create override option for mandatory extension
Ini is alredy big enough
This commit is contained in:
parent
a0c17ae0a4
commit
2ff3d17f67
|
@ -346,13 +346,15 @@ namespace GLLoader {
|
||||||
|
|
||||||
static bool status_and_override(bool& found, const std::string& name, bool mandatory = false)
|
static bool status_and_override(bool& found, const std::string& name, bool mandatory = false)
|
||||||
{
|
{
|
||||||
if (!found) {
|
|
||||||
if (mandatory) {
|
if (mandatory) {
|
||||||
|
if (!found) {
|
||||||
fprintf(stderr, "ERROR: %s is NOT SUPPORTED\n", name.c_str());
|
fprintf(stderr, "ERROR: %s is NOT SUPPORTED\n", name.c_str());
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
fprintf(stderr, "INFO: %s is NOT SUPPORTED\n", name.c_str());
|
|
||||||
}
|
}
|
||||||
|
return found;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!found) {
|
||||||
|
fprintf(stderr, "INFO: %s is NOT SUPPORTED\n", name.c_str());
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "INFO: %s is available\n", name.c_str());
|
fprintf(stderr, "INFO: %s is available\n", name.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue