diff options
author | neoraider <devnull@localhost> | 2007-11-01 00:27:03 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-11-01 00:27:03 +0100 |
commit | 68ba1f69427760d004142c420a51e88c0f6b2961 (patch) | |
tree | cfee403a205d42ced06fb53b1e06e6cae9a95295 /render.c | |
parent | 0d161e31bbc3433e320f2367657fb054974182d3 (diff) | |
download | libzoom-68ba1f69427760d004142c420a51e88c0f6b2961.tar libzoom-68ba1f69427760d004142c420a51e88c0f6b2961.zip |
libzoom: Fixed some warnings with -Wall
Diffstat (limited to 'render.c')
-rw-r--r-- | render.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,13 +23,13 @@ static int SortByTex(const void *p1, const void *p2) { } void Render() { - GLfloat std_emission[] = {0.0, 0.0, 0.0, 1.0}; - MATRIX rotate = { + //GLfloat std_emission[] ={{0.0, 0.0, 0.0, 1.0}; + MATRIX rotate = {.f = { player.rotycos, 0.0, -player.rotysin, 0.0, 0.0, 1.0, 0.0, 0.0, player.rotysin, 0.0, player.rotycos, 0.0, 0.0, 0.0, 0.0, 1.0 - }; + }}; POLYGON_LIST *room; int i, j, k; float d; |