From c36922caef3098f9a1f62712d57012822ee2145a Mon Sep 17 00:00:00 2001 From: Kyle K Date: Mon, 18 Jul 2011 18:41:49 -0500 Subject: sdl: forgot to zero out client struct --- sdl/pyramid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sdl/pyramid.c') diff --git a/sdl/pyramid.c b/sdl/pyramid.c index ff40dff..1e14ebb 100644 --- a/sdl/pyramid.c +++ b/sdl/pyramid.c @@ -14,8 +14,6 @@ * * it might be time to split the code, and make a shader version... * - * ToDo: on linux, update the makefile dependencies, and check out lua-config - * */ #include @@ -133,6 +131,7 @@ int main(int argc, char **argv) /* setup client platform */ struct client c; + memset(&c, 0, sizeof(c)); p.c = &c; p.client_init = &client_init; p.client_destroy = &client_destroy; -- cgit v1.2.3