diff options
author | Kyle K <kylek389@gmail.com> | 2011-07-18 18:41:49 -0500 |
---|---|---|
committer | Kamil Kaminski <kamilkss@gmail.com> | 2011-07-18 18:41:49 -0500 |
commit | c36922caef3098f9a1f62712d57012822ee2145a (patch) | |
tree | a99456a3f705c85cd44bdbcb0dc1a627aac112bb /sdl/pyramid.c | |
parent | 881ada4374bc0bd52ea3d99f989a16c5436ce65d (diff) | |
download | GLPyramid-c36922caef3098f9a1f62712d57012822ee2145a.tar.gz GLPyramid-c36922caef3098f9a1f62712d57012822ee2145a.tar.bz2 GLPyramid-c36922caef3098f9a1f62712d57012822ee2145a.zip |
sdl: forgot to zero out client struct
Diffstat (limited to 'sdl/pyramid.c')
-rw-r--r-- | sdl/pyramid.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 <SDL/SDL.h> @@ -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; |