RageTexture is a wrapper around RageDisplay's textures; RageDisplay
itself doesn't use it. Don't pass in RageTexture to SetTexture; use RageDisplay's native texture handles.
This commit is contained in:
@@ -327,7 +327,7 @@ void BitmapText::DrawChars()
|
||||
while( end < iEndGlyph && m_pTextures[end] == m_pTextures[start] )
|
||||
end++;
|
||||
DISPLAY->ClearAllTextures();
|
||||
DISPLAY->SetTexture( TextureUnit_1, m_pTextures[start] );
|
||||
DISPLAY->SetTexture( TextureUnit_1, m_pTextures[start]->GetTexHandle() );
|
||||
// don't bother setting texture render states for text. We never go outside of 0..1.
|
||||
//Actor::SetTextureRenderStates();
|
||||
RageSpriteVertex &start_vertex = m_aVertices[start*4];
|
||||
|
||||
Reference in New Issue
Block a user