GRAPHICS: Distinguish between texture size and viewport size in Graphics::FrameBuffer

This commit is contained in:
Dries Harnie 2014-01-23 21:51:54 +01:00
parent 748eb94a65
commit 841d08db2e
3 changed files with 4 additions and 4 deletions

View file

@ -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