const fix
This commit is contained in:
@@ -218,7 +218,7 @@ void MovieTexture_DShow::Create()
|
||||
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);
|
||||
buffer_changed = true;
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
virtual bool IsPlaying() const;
|
||||
void SetLooping(bool looping=true) { m_bLoop = looping; }
|
||||
|
||||
void NewData(char *buffer);
|
||||
void NewData(const char *buffer);
|
||||
|
||||
protected:
|
||||
char *buffer;
|
||||
|
||||
Reference in New Issue
Block a user