1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Remove redundant calls to video() functions in FrameBuffer::_initTexture

This commit is contained in:
Sergey Lipskiy 2015-03-26 23:06:31 +06:00
parent 3031883409
commit 080900e553

View File

@ -134,8 +134,8 @@ FrameBuffer::~FrameBuffer()
void FrameBuffer::_initTexture(u16 _format, u16 _size, CachedTexture *_pTexture)
{
_pTexture->width = (u32)(m_width * video().getScaleX());
_pTexture->height = (u32)(m_height * video().getScaleY());
_pTexture->width = (u32)(m_width * m_scaleX);
_pTexture->height = (u32)(m_height * m_scaleY);
_pTexture->format = _format;
_pTexture->size = _size;
_pTexture->clampS = 1;