mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Video backend: merge global var xfmem into xfregs.
There isn't really any reason to keep them separate.
This commit is contained in:
parent
818c89313e
commit
8f5342c442
11 changed files with 34 additions and 70 deletions
|
@ -217,7 +217,7 @@ void LOADERDECL UpdateBoundingBox()
|
|||
// We need to get the raw projection values for the bounding box calculation
|
||||
// to work properly. That means, no projection hacks!
|
||||
const float * const orig_point = s_bbox_vertex_buffer;
|
||||
const float * const world_matrix = (float*)xfmem.posMatrices + s_curposmtx * 4;
|
||||
const float * const world_matrix = (float*)xfregs.posMatrices + s_curposmtx * 4;
|
||||
const float * const proj_matrix = xfregs.projection.rawProjection;
|
||||
|
||||
// Transform by world matrix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue