Refactoring in SDLMain.
This commit is contained in:
parent
4e3ad27ae8
commit
ccc831e34d
7 changed files with 34 additions and 13 deletions
|
@ -49,7 +49,7 @@ namespace cloonel {
|
|||
///-------------------------------------------------------------------------
|
||||
void Character::Prepare() {
|
||||
const SDLMain* const sdlmain = m_texture->SDLObject();
|
||||
const int2 screensize(sdlmain->DefWidthHeight());
|
||||
const int2 screensize(sdlmain->WidthHeight());
|
||||
|
||||
m_texture->Reload();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue