movies have no alpha
this will cause Sprite to turn off blending if it can may speed up bg's on slower hardware
This commit is contained in:
@@ -143,6 +143,8 @@ void RageMovieTexture::Create()
|
|||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
|
m_ActualID.iAlphaBits = 0;
|
||||||
|
|
||||||
if( FAILED( hr=CoInitialize(NULL) ) )
|
if( FAILED( hr=CoInitialize(NULL) ) )
|
||||||
RageException::Throw( hr_ssprintf(hr, "Could not CoInitialize") );
|
RageException::Throw( hr_ssprintf(hr, "Could not CoInitialize") );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user