Merge r3d/tiles-open-fix c18579f7: tiles_open_test asks for what a device would have made, not the frame counter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-30 03:24:13 +03:00
commit a6ce456c60

View file

@ -30,7 +30,7 @@ program TilesOpenTest {
}
expect_eq(off, 0)
expect(terrain_height_smooth(render3d_st, 300.0, -120.0) != 0.0)
expect_eq(render3d_st.gvk_frame_no, 0) # nothing drew, nothing was made on a device
expect(render3d_st.ter_height_tex == 0 and render3d_st.ter_normal_tex == 0 and not render3d_st.tp_on) # nothing on a device
}
test "another bake's key or version, a missing file, or a whole copy kept is refused and changes nothing" (render3d_st: mut Render3dState) {