Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/opengl/scene_opengl.h
Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Line(s) | |||||
178 | class SceneOpenGL2Window : public SceneOpenGL::Window | 178 | class SceneOpenGL2Window : public SceneOpenGL::Window | ||
179 | { | 179 | { | ||
180 | public: | 180 | public: | ||
181 | enum Leaf { ShadowLeaf = 0, DecorationLeaf, ContentLeaf, PreviousContentLeaf, LeafCount }; | 181 | enum Leaf { ShadowLeaf = 0, DecorationLeaf, ContentLeaf, PreviousContentLeaf, LeafCount }; | ||
182 | 182 | | |||
183 | struct LeafNode | 183 | struct LeafNode | ||
184 | { | 184 | { | ||
185 | LeafNode() | 185 | LeafNode() | ||
186 | : texture(0), | 186 | : texture(nullptr), | ||
187 | firstVertex(0), | 187 | firstVertex(0), | ||
188 | vertexCount(0), | 188 | vertexCount(0), | ||
189 | opacity(1.0), | 189 | opacity(1.0), | ||
190 | hasAlpha(false), | 190 | hasAlpha(false), | ||
191 | coordinateType(UnnormalizedCoordinates) | 191 | coordinateType(UnnormalizedCoordinates) | ||
192 | { | 192 | { | ||
193 | } | 193 | } | ||
194 | 194 | | |||
▲ Show 20 Lines • Show All 163 Lines • Show Last 20 Lines |