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

TexrectDrawer: use RDP.w0, RDP.w1 to get rect coordinates.

This commit is contained in:
Sergey Lipskiy 2018-09-04 16:54:56 +07:00
parent fac72ddf5a
commit 80ba93413a

View File

@ -6,6 +6,7 @@
#include <Graphics/Parameters.h>
#include "DisplayWindow.h"
#include "Textures.h"
#include "RDP.h"
#include "RSP.h"
#include "VI.h"
#include "FrameBuffer.h"
@ -192,7 +193,7 @@ bool TexrectDrawer::add()
GraphicsDrawer & drawer = wnd.getDrawer();
RectVertex * pRect = drawer.m_rect;
m_curRect = _getiRect(RSP.w0, RSP.w1);
m_curRect = _getiRect(RDP.w0, RDP.w1);
bool bDownUp = false;
if (m_numRects != 0) {