1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-20 20:29:58 +01:00

Fix teminal demo

This commit is contained in:
Miloslav Číž 2019-07-13 18:43:20 +02:00
parent ce420c1b16
commit e41ec6c078

View file

@ -4,6 +4,7 @@
license: CC0 1.0
*/
#include <stdio.h>
#include <unistd.h> // for usleep
// we need to define screen resolution before including the library:
@ -102,6 +103,8 @@ int main()
{
clearScreen();
S3L_newFrame(); // has to be called before each frame
S3L_drawScene(scene); /* This starts the scene rendering. The drawPixel
function will be called to draw it. */
drawScreen();