mirror of
https://github.com/open-goal/jak-project
synced 2026-08-15 21:00:19 -04:00
build-actor: set shader-cnt to 0 for dummy merc-fragment (#4296)
Inside the build actor tool's dummy `merc-fragment`'s `merc-fp-data`, the `shader-cnt` is set to `1`, which means that `login-adgifs` runs for the fragment and attempts to login the texture. We don't need to do this for custom actors and it can cause crashes during level unloading when textures get unlinked, so we can just set the `shader-cnt` to `0` to prevent this.
This commit is contained in:
@@ -386,7 +386,7 @@ static size_t gen_dummy_frag_geo(DataObjectGenerator& gen) {
|
||||
0x432e7f86, 0x254646, 0x71a20044, 0x43657f86, 0x154949, 0x43400024, 0x719b8186,
|
||||
0x154c4c, 0x71c00064, 0x71d28186, 0x254f4f, 0x435e0000, 0x71d27f86, 0x250707,
|
||||
0x435e8000, 0x43658186, 0x150d0d, 0x43408024, 0x0, 0x0, 0x0,
|
||||
0xcb01005a, 0xcb00fffa, 0xcb01005a, 0x2101e01, 0x0, 0x0, 0x306,
|
||||
0xcb01005a, 0xcb00fffa, 0xcb01005a, 0x2101e00, 0x0, 0x0, 0x306,
|
||||
0x4030000, 0x120, 0x0, 0x1cf02c14, 0x66c801d, 0x0, 0x0,
|
||||
0x34, 0x0, 0x0, 0x0, 0x8, 0x0, 0x44,
|
||||
0x80, 0x42, 0x0,
|
||||
|
||||
Reference in New Issue
Block a user