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:
parent
3031883409
commit
080900e553
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user