mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-19 03:39:08 +00:00
Fix some Linux issues in plGImage.
This commit is contained in:
@ -101,7 +101,7 @@ public:
|
||||
|
||||
virtual bool Open(const char* fileName, plPipeline* pipeline);
|
||||
virtual void Close();
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
plAVIWriter::~plAVIWriter()
|
||||
@ -172,9 +172,9 @@ hsBool plAVIWriterImp::MsgReceive(plMessage* msg)
|
||||
|
||||
static const int kFramesPerSec = 30;
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
bool plAVIWriterImp::Open(const char* fileName, plPipeline* pipeline)
|
||||
{
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
// Already writing, fail
|
||||
if (fStreamHandle)
|
||||
return false;
|
||||
@ -250,12 +250,12 @@ bool plAVIWriterImp::Open(const char* fileName, plPipeline* pipeline)
|
||||
Close();
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
plgDispatch::Dispatch()->RegisterForExactType(plRenderMsg::Index(), GetKey());
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
void plAVIWriterImp::Close()
|
||||
{
|
||||
|
@ -43,7 +43,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef hsGDDrawDllLoad_inc
|
||||
#define hsGDDrawDllLoad_inc
|
||||
|
||||
#include "hsConfig.h"
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
class hsGDDrawDllLoad
|
||||
{
|
||||
private:
|
||||
@ -55,5 +57,6 @@ public:
|
||||
|
||||
static HMODULE GetD3DDll();
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif // hsGDDrawDllLoad_inc
|
||||
|
Reference in New Issue
Block a user