Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How using begin/end frame? #268

Open
0xtrzy opened this issue Mar 13, 2021 · 1 comment
Open

How using begin/end frame? #268

0xtrzy opened this issue Mar 13, 2021 · 1 comment

Comments

@0xtrzy
Copy link

0xtrzy commented Mar 13, 2021

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

@zerotrzy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants