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:
parent
fac72ddf5a
commit
80ba93413a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user