projects
/
vrtris
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed crash when passing the -screen argument, due to trying to free the
[vrtris]
/
src
/
gamescr.c
diff --git
a/src/gamescr.c
b/src/gamescr.c
index
52db999
..
0bd7f70
100644
(file)
--- a/
src/gamescr.c
+++ b/
src/gamescr.c
@@
-1,3
+1,4
@@
+#include "opengl.h"
#include "screen.h"
#include "cmesh.h"
@@
-63,6
+64,9
@@
static void update(float dt)
static void draw(void)
{
+ glTranslatef(0, 0, 6);
+
+ cmesh_draw(blkmesh);
}
static void reshape(int x, int y)