tinygi
diff src/main.c @ 2:72752a1b3dbe
images and shapes
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 21 Jul 2015 04:30:00 +0300 |
parents | 16fdca2a1ef5 |
children |
line diff
1.1 --- a/src/main.c Mon Jul 20 04:38:53 2015 +0300 1.2 +++ b/src/main.c Tue Jul 21 04:30:00 2015 +0300 1.3 @@ -1,4 +1,16 @@ 1.4 #include <stdio.h> 1.5 #include "tinygi.h" 1.6 1.7 +struct tinygi *tgi; 1.8 1.9 +int main(int argc, char **argv) 1.10 +{ 1.11 + if(!(tgi = tgi_init())) { 1.12 + return 1; 1.13 + } 1.14 + 1.15 + /* stuff ... */ 1.16 + 1.17 + tgi_destroy(tgi); 1.18 + return 0; 1.19 +}