summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.c b/init.c
index 53e1eb4..59fc888 100644
--- a/init.c
+++ b/init.c
@@ -18,8 +18,8 @@ extern PLAYER player;
int InitGame() {
- LIGHT light = {LIGHT_POINT, {15.0, 15.0, 15.0}, {0.0, 0.0, 0.0}};
- COLOR ambient = {0.1, 0.1, 0.1};
+ LIGHT light = {LIGHT_POINT, {{15.0, 15.0, 15.0}}, {{0.0, 0.0, 0.0}}};
+ COLOR ambient = {{0.1, 0.1, 0.1}};
glViewport(0, 0, 640, 480);