mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Update miniwin/src/d3drm/d3drmviewport.cpp
This commit is contained in:
parent
771801d826
commit
ccd15acf22
@ -504,7 +504,7 @@ HRESULT Direct3DRMViewportImpl::Transform(D3DRMVECTOR4D* screen, D3DVECTOR* worl
|
||||
screen->x = (ndcX * 0.5f + 0.5f) * m_width;
|
||||
screen->y = (1.0f - (ndcY * 0.5f + 0.5f)) * m_height;
|
||||
|
||||
// Undo perspective divice
|
||||
// Undo perspective divide
|
||||
screen->x *= screen->z;
|
||||
screen->y *= screen->w;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user