@@ -106,7 +106,7 @@ class CRender : public D3DXRenderBase
106
106
float forcegloss_v;
107
107
} o;
108
108
109
- struct RenderR3Statistics
109
+ struct RenderR4Statistics
110
110
{
111
111
u32 l_total;
112
112
u32 l_visible;
@@ -115,13 +115,10 @@ class CRender : public D3DXRenderBase
115
115
s32 s_used;
116
116
s32 s_merged;
117
117
s32 s_finalclip;
118
- u32 o_queries;
119
- u32 o_culled;
120
118
u32 ic_total;
121
119
u32 ic_culled;
122
120
123
- RenderR3Statistics () { FrameStart (); }
124
-
121
+ RenderR4Statistics () { FrameStart (); }
125
122
void FrameStart ()
126
123
{
127
124
l_total = 0 ;
@@ -131,8 +128,6 @@ class CRender : public D3DXRenderBase
131
128
s_used = 0 ;
132
129
s_merged = 0 ;
133
130
s_finalclip = 0 ;
134
- o_queries = 0 ;
135
- o_culled = 0 ;
136
131
ic_total = 0 ;
137
132
ic_culled = 0 ;
138
133
}
@@ -141,7 +136,7 @@ class CRender : public D3DXRenderBase
141
136
};
142
137
143
138
public:
144
- RenderR3Statistics Stats;
139
+ RenderR4Statistics Stats;
145
140
// Sector detection and visibility
146
141
CSector* pLastSector;
147
142
Fvector vLastCameraPos;
@@ -156,7 +151,7 @@ class CRender : public D3DXRenderBase
156
151
// Global vertex-buffer container
157
152
xr_vector<FSlideWindowItem> SWIs;
158
153
xr_vector<ref_shader> Shaders;
159
- typedef svector<D3DVERTEXELEMENT9,MAXD3DDECLLENGTH + 1 > VertexDeclarator;
154
+ typedef svector<D3DVERTEXELEMENT9, MAXD3DDECLLENGTH + 1 > VertexDeclarator;
160
155
xr_vector<VertexDeclarator> nDC, xDC;
161
156
xr_vector<GLuint> nVB, xVB;
162
157
xr_vector<GLuint> nIB, xIB;
0 commit comments