mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
gsdx-ogl: don't create override option for mandatory extension
Ini is alredy big enough
This commit is contained in:
1 parent
a0c17ae0a4
commit
2ff3d17f67
1 file changed
+7
-5
@@ -346,13 +346,15 @@ namespace GLLoader {
|
||||
|
||||
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());
|
||||
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 {
|
||||
fprintf(stderr, "INFO: %s is available\n", name.c_str());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user