mirror of
https://github.com/open-goal/jak-project
synced 2026-07-12 07:38:53 -04:00
[jak3] Minimap texture fix
This commit is contained in:
@@ -42,6 +42,9 @@ void ProgressRenderer::handle_frame(u64 val,
|
||||
break;
|
||||
case kMinimapFbp: // 126
|
||||
m_fb_ctxt.emplace(m_minimap_fb);
|
||||
// replace any other texture that the game loaded to this slot with our PC with the GPU
|
||||
// one that we assume will get written to now.
|
||||
render_state->texture_pool->move_existing_to_vram(m_minimap_gpu_tex, kMinimapVramAddr);
|
||||
m_offscreen_mode = true;
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -1409,7 +1409,7 @@
|
||||
(let ((t0-22 (-> lev texture-mask category)))
|
||||
(set! (-> t0-22 mask quad) (the-as uint128 -1))
|
||||
(set! (-> lev upload-size 8)
|
||||
(upload-vram-pages-pris pool (-> pool segment-common) a2-1 bucket (the-as (pointer int32) t0-22))
|
||||
(upload-vram-pages-pris-pc pool (-> pool segment-common) a2-1 bucket (the-as (pointer int32) t0-22))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user