rxi / lite

A lightweight text editor written in Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How using begin/end frame?

0xtrzy opened this issue · comments

https://gitlab.com/0xtrzy/engine-tui/-/tree/master
How put text to screen using begin frame?
I must initialize some other function? Anybody can help me?

 rencache_begin_frame();
 rencache_draw_rect(male, czerwone);
 rencache_draw_text(foncik, "żółw", 14, 2, kolorek);
 rencache_end_frame();

(original comented https://gitlab.com/0xtrzy/engine-tui/-/blob/master/main.c )

I think a benchmark needs to be created to see which engine is the fastest

Meybe using glfw https://www.glfw.org/ ?