sm64coopdx/docs/lua/examples/custom-hud-texture/main.lua

7 lines
214 B
Lua
Raw Normal View History

2022-05-07 05:06:35 +00:00
function on_hud_render()
local texInfo = get_texture_info('test')
djui_hud_set_resolution(RESOLUTION_N64);
djui_hud_render_texture(texInfo, 0, 0, 1, 1)
end
hook_event(HOOK_ON_HUD_RENDER, on_hud_render)