mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 08:39:57 -04:00
Keep the scene and the picture inside the shipped render-target heap when the grown heap table is not served.
The scene's share followed the settings alone. When the grown table could not be built or written (a table in a form that is not rewritten, as a mod's may be, or a profile folder that cannot be written), the game kept the shipped heap and the scene still went to the whole picture inside it, which is the crash the growth was made for. The start now asks for the table before the first present and looks at the answer: without the grown table the scene is three quarters of the picture at most and the picture stays the game's own 2560x1440, with a log line that says so. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -284,6 +284,7 @@ int res_heapdef_build(const void *in, size_t n, void **out, size_t *out_n) {
|
||||
}
|
||||
|
||||
void res_heapdef_served(void) { R.heapdef_ok = 1; }
|
||||
int res_heapdef_ok(void) { return R.heapdef_ok; }
|
||||
|
||||
// ---- sun shadow map size: each frame the engine sizes its shadow cascades to the area they cover, down to about 400 near
|
||||
// the ground, which draws foliage shadows blocky, and each change of size moves the shadow texels, so leaf shadows jump.
|
||||
|
||||
Reference in New Issue
Block a user