const fix
This commit is contained in:
@@ -218,7 +218,7 @@ void MovieTexture_DShow::Create()
|
|||||||
RageException::Throw( "Could not run the DirectShow graph." );
|
RageException::Throw( "Could not run the DirectShow graph." );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MovieTexture_DShow::NewData(char *data)
|
void MovieTexture_DShow::NewData(const char *data)
|
||||||
{
|
{
|
||||||
LockMutex L(buffer_mutex);
|
LockMutex L(buffer_mutex);
|
||||||
buffer_changed = true;
|
buffer_changed = true;
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public:
|
|||||||
virtual bool IsPlaying() const;
|
virtual bool IsPlaying() const;
|
||||||
void SetLooping(bool looping=true) { m_bLoop = looping; }
|
void SetLooping(bool looping=true) { m_bLoop = looping; }
|
||||||
|
|
||||||
void NewData(char *buffer);
|
void NewData(const char *buffer);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
char *buffer;
|
char *buffer;
|
||||||
|
|||||||
Reference in New Issue
Block a user