bug #1897: Added check to make sure plugin actually loaded correctly.

This commit is contained in:
2004-11-29 05:33:32 +00:00
parent 45cd17b584
commit 9ba60811b5
2 changed files with 35 additions and 29 deletions

View File

@@ -13,6 +13,7 @@ class yafrayPluginRender_t : public yafrayRender_t
public:
yafrayPluginRender_t()
{
plugin_loaded = false;
handle=NULL;
#ifdef WIN32
corehandle=NULL;
@@ -21,6 +22,7 @@ class yafrayPluginRender_t : public yafrayRender_t
}
virtual ~yafrayPluginRender_t();
protected:
bool plugin_loaded;
std::string imgout;
PILdynlib *handle;
#ifdef WIN32