GRAPHICS: Distinguish between texture size and viewport size in Graphics::FrameBuffer
This commit is contained in:
parent
748eb94a65
commit
841d08db2e
3 changed files with 4 additions and 4 deletions
|
@ -282,7 +282,7 @@ void OSystem_Android::initSize(uint width, uint height,
|
|||
_game_texture->allocBuffer(width, height);
|
||||
#endif
|
||||
#ifdef USE_GLES2
|
||||
_frame_buffer = new Graphics::FrameBuffer(_game_texture->getTextureName(), _game_texture->texWidth(), _game_texture->texHeight());
|
||||
_frame_buffer = new Graphics::FrameBuffer(_game_texture->getTextureName(), _game_texture->width(), _game_texture->height(), _game_texture->texWidth(), _game_texture->texHeight());
|
||||
_frame_buffer->attach();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue