mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
DIRECTOR: Fix Compiler Warning.
This commit is contained in:
parent
2d1b0969d1
commit
11846907a6
@ -921,6 +921,8 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo
|
||||
}
|
||||
|
||||
switch (textCast->textAlign) {
|
||||
case kTextAlignLeft:
|
||||
break;
|
||||
case kTextAlignCenter:
|
||||
textX = (width / 2) - (textSurface->w / 2) + (padding / 2) + borderSize;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user