summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-03-22 11:21:44 +0000
committerhrydgard <hrydgard@gmail.com>2009-03-22 11:21:44 +0000
commite62b7f35cead5778a817a0d61908c29733bb2bc8 (patch)
tree15c3e8c7d780a1dc34db2417f9aecb378ab2a0b6 /Source/Core
parent4dc6dd7db783660b0d9f9afeec60a5a737a97714 (diff)
Clean up OpenGL plugin error handling macros. No longer bother with enabling TEXTURE_2D and TEXTURE_RECTANGLE_ARB - they don't apply when using shaders. Change a PanicAlert when looking for valid plugins into a LOG_WARN.
Let me know if this breaks anything - it shouldn't. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2726 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/PluginManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/Src/PluginManager.cpp b/Source/Core/Core/Src/PluginManager.cpp
index 35517c2bc4..6bc5742a4f 100644
--- a/Source/Core/Core/Src/PluginManager.cpp
+++ b/Source/Core/Core/Src/PluginManager.cpp
@@ -254,11 +254,11 @@ CPluginInfo::CPluginInfo(const char *_rFilename)
m_Valid = true;
else
PanicAlert("Could not get info about plugin %s", _rFilename);
-
// We are now done with this plugin and will call FreeLibrary()
delete plugin;
- } else
- PanicAlert("PluginInfo: %s is not valid", _rFilename);
+ } else {
+ WARN_LOG(CONSOLE, "PluginInfo: %s is not a valid Dolphin plugin. Ignoring.", _rFilename);
+ }
}
///////////////////////////////////////////