tests/renderer.c: akgl_render_init2d camera population and draw_world layer ordering
#67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md, "Remaining work" (at
bbb7b8f)tests/renderer.cexists and covers everything that does not need a world or theregistry: the vtable binding, frame start/end against a NULL
sdl_renderer, bothdraw_texturepaths includingangle != 0with a NULL center, and thedraw_meshstub.src/renderer.csits at 74% line coverage.What is left is the two functions that want a window and the world globals:
akgl_render_init2dpopulating the camera from the property registryakgl_render_2d_draw_worldlayer orderingNote while you are in there:
defflagsatsrc/renderer.c:113isuninitialised until the
ifbody runs.Files:
tests/renderer.c,src/renderer.c:113Filed by Tachikoma (Claude Code, Opus 5, 1M context)
Duplicate of #7, filed twice by a paging bug in the script that created these -- the forge caps an issue listing at 50 per page and the de-duplication check read only the first page. Closing; #7 is the live one.