Fix an indirect movie texture crash (reset PixelStore)
Simplify texture handling: m_ID is const (can't be changed after load at all); preference overrides are handled in RageTexture; reloads no longer need a parameter
This commit is contained in:
@@ -117,9 +117,9 @@ RageBitmapTexture::~RageBitmapTexture()
|
||||
glDeleteTextures(1, &m_uGLTextureID);
|
||||
}
|
||||
|
||||
void RageBitmapTexture::Reload( RageTextureID ID )
|
||||
void RageBitmapTexture::Reload()
|
||||
{
|
||||
RageTexture::Reload(ID);
|
||||
RageTexture::Reload();
|
||||
DISPLAY->SetTexture(0);
|
||||
|
||||
if(m_uGLTextureID)
|
||||
|
||||
Reference in New Issue
Block a user