From 0ae35124549a1fab117fa6631fc8adc54f0501b8 Mon Sep 17 00:00:00 2001 From: Brian McGroarty Date: Mon, 25 Aug 2008 15:24:10 +0000 Subject: Fix gcc4 with proper Linden-canonical struct definitions --- indra/llrender/llgl.h | 4 ++-- indra/llrender/llrender.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'indra/llrender') diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h index f387b7b179..cff54cc342 100644 --- a/indra/llrender/llgl.h +++ b/indra/llrender/llgl.h @@ -318,11 +318,11 @@ public: class LLGLNamePool { public: - typedef struct + struct NameEntry { GLuint name; BOOL used; - } NameEntry; + }; struct CompareUsed { diff --git a/indra/llrender/llrender.h b/indra/llrender/llrender.h index 7ad2bca27c..7896f6c922 100644 --- a/indra/llrender/llrender.h +++ b/indra/llrender/llrender.h @@ -213,12 +213,12 @@ public: LLTexUnit* getTexUnit(U32 index); - typedef struct + struct Vertex { GLfloat v[3]; GLubyte c[4]; GLfloat uv[2]; - } Vertex; + }; public: -- cgit v1.3