Added missing GraphicOptions help text, re-added F4 fullscreen and F5 detail toggles, fixed texel-pixel alignment in Sprite, BitmapText
This commit is contained in:
@@ -194,10 +194,13 @@ void BitmapText::DrawPrimitives()
|
||||
// Offset so that pixels are aligned to texels
|
||||
// Offset by -0.5, -0.5 if 640x480
|
||||
// Offset by -1.0, -1.0 if 320x240
|
||||
DISPLAY->TranslateLocal(
|
||||
-0.5f*SCREEN_WIDTH/(float)PREFSMAN->m_iDisplayWidth,
|
||||
-0.5f*SCREEN_HEIGHT/(float)PREFSMAN->m_iDisplayHeight,
|
||||
0 );
|
||||
// 11/12/2002: Why in the world is this not needed with the OpenGL renderer?
|
||||
// We're using the exact same orthographic projection transform. Anyway, things
|
||||
// are perfectly aligned without this TranslateLocal
|
||||
// DISPLAY->TranslateLocal(
|
||||
// -0.5f*SCREEN_WIDTH/(float)PREFSMAN->m_iDisplayWidth,
|
||||
// -0.5f*SCREEN_HEIGHT/(float)PREFSMAN->m_iDisplayHeight,
|
||||
// 0 );
|
||||
|
||||
if( m_iNumLines == 0 )
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user