summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-11-01 00:27:03 +0100
committerneoraider <devnull@localhost>2007-11-01 00:27:03 +0100
commit68ba1f69427760d004142c420a51e88c0f6b2961 (patch)
treecfee403a205d42ced06fb53b1e06e6cae9a95295 /init.c
parent0d161e31bbc3433e320f2367657fb054974182d3 (diff)
downloadlibzoom-68ba1f69427760d004142c420a51e88c0f6b2961.tar
libzoom-68ba1f69427760d004142c420a51e88c0f6b2961.zip
libzoom: Fixed some warnings with -Wall
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);