From: havoc Date: Fri, 21 Oct 2005 05:11:58 +0000 (+0000) Subject: added a struct name to envmapinfo to stop a g++ 4 error about envmapinfo (which is... X-Git-Tag: xonotic-v0.1.0preview~4539 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ad4e1d8e2684b22023c9093b2912b1757de7454d;p=xonotic%2Fdarkplaces.git added a struct name to envmapinfo to stop a g++ 4 error about envmapinfo (which is a global) using an anonymous type (a struct with no name) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5744 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index eb0a4035..19a03bcc 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -1198,7 +1198,7 @@ R_Envmap_f Grab six views for environment mapping tests =============== */ -struct +struct envmapinfo_s { float angles[3]; char *name;