From 68ba1f69427760d004142c420a51e88c0f6b2961 Mon Sep 17 00:00:00 2001 From: neoraider Date: Wed, 31 Oct 2007 23:27:03 +0000 Subject: libzoom: Fixed some warnings with -Wall --- init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.c') 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); -- cgit v1.2.3