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:
parent
ce420c1b16
commit
e41ec6c078
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue