projects
/
windtk
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wt_draw
[windtk]
/
example.c
diff --git
a/example.c
b/example.c
index
2d13dc5
..
8e7c8e7
100644
(file)
--- a/
example.c
+++ b/
example.c
@@
-39,6
+39,7
@@
int main(int argc, char **argv)
if(wt_init(800, 600, &gfx)) {
return 1;
}
+ wt_window(0, "foo", WT_WS_DEFAULT, 10, 10, 200, 200);
glutMainLoop();
return 0;
@@
-48,6
+49,8
@@
static void display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
+ wt_draw();
+
glutSwapBuffers();
}