mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 18:06:10 +00:00
CBooRenderer: Don't rebind reflection texture
This commit is contained in:
@@ -1097,7 +1097,7 @@ void CBooRenderer::CacheReflection(TReflectionCallback cb, void* ctx, bool clear
|
|||||||
SetViewport(0, 0, 256, 256);
|
SetViewport(0, 0, 256, 256);
|
||||||
hsh::clear_attachments(true, false);
|
hsh::clear_attachments(true, false);
|
||||||
cb(ctx, CBooModel::g_ReflectViewPos);
|
cb(ctx, CBooModel::g_ReflectViewPos);
|
||||||
x14c_reflectionTex.resolve_color_binding(0, hsh::rect2d{{}, {256, 256}});
|
x14c_reflectionTex.resolve_color_binding(0, {{}, {256, 256}}, false);
|
||||||
BindMainDrawTarget();
|
BindMainDrawTarget();
|
||||||
SetViewport(backupVp.x0_left, backupVp.x4_top, backupVp.x8_width, backupVp.xc_height);
|
SetViewport(backupVp.x0_left, backupVp.x4_top, backupVp.x8_width, backupVp.xc_height);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user