From ad4e1d8e2684b22023c9093b2912b1757de7454d Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 21 Oct 2005 05:11:58 +0000 Subject: [PATCH] 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 --- cl_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2