diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llrender/llglimmediate.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/linden/indra/llrender/llglimmediate.h b/linden/indra/llrender/llglimmediate.h index cf4dc4f..e0cddff 100644 --- a/linden/indra/llrender/llglimmediate.h +++ b/linden/indra/llrender/llglimmediate.h | |||
@@ -40,6 +40,7 @@ | |||
40 | #include "stdtypes.h" | 40 | #include "stdtypes.h" |
41 | #include "llgltypes.h" | 41 | #include "llgltypes.h" |
42 | #include "llglheaders.h" | 42 | #include "llglheaders.h" |
43 | #include "llvertexbuffer.h" | ||
43 | 44 | ||
44 | class LLGLImmediate | 45 | class LLGLImmediate |
45 | { | 46 | { |
@@ -50,8 +51,6 @@ public: | |||
50 | void pushMatrix(); | 51 | void pushMatrix(); |
51 | void popMatrix(); | 52 | void popMatrix(); |
52 | void blendFunc(GLenum sfactor, GLenum dfactor); | 53 | void blendFunc(GLenum sfactor, GLenum dfactor); |
53 | void start(); | ||
54 | void stop(); | ||
55 | void flush(); | 54 | void flush(); |
56 | 55 | ||
57 | void begin(const GLuint& mode); | 56 | void begin(const GLuint& mode); |
@@ -91,15 +90,15 @@ public: | |||
91 | GLfloat uv[2]; | 90 | GLfloat uv[2]; |
92 | }; | 91 | }; |
93 | 92 | ||
94 | public: | ||
95 | static BOOL sStarted; | ||
96 | |||
97 | private: | 93 | private: |
98 | static bool sClever; | 94 | static bool sClever; |
99 | 95 | ||
100 | U32 mCount; | 96 | U32 mCount; |
101 | U32 mMode; | 97 | U32 mMode; |
102 | Vertex mBuffer[4096]; | 98 | LLPointer<LLVertexBuffer> mBuffer; |
99 | LLStrider<LLVector3> mVerticesp; | ||
100 | LLStrider<LLVector2> mTexcoordsp; | ||
101 | LLStrider<LLColor4U> mColorsp; | ||
103 | }; | 102 | }; |
104 | 103 | ||
105 | extern LLGLImmediate gGL; | 104 | extern LLGLImmediate gGL; |