Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 781 vs 785 for /trunk/Source Code/Platform/Video/Headers/GFXDevice.inl

Diff revisions: vs.
  @@ -153,12 +153,12 @@
153 153 /// clear all clipping planes
154 154 inline void
155 155 GFXDevice::resetClipPlanes() {
156 - _clippingPlanes.resize(Config::MAX_CLIP_PLANES, Plane<F32>(0, 0, 0, 0));
156 + _clippingPlanes.resize(to_const_uint(Frustum::FrustPlane::COUNT), Plane<F32>(0, 0, 0, 0));
157 157 updateClipPlanes();
158 158 _api->updateClipPlanes();
159 159 }
160 160 /// Alternative to the normal version of getMatrix
161 - inline mat4<F32> GFXDevice::getMatrix(const MATRIX& mode) const {
161 + inline const mat4<F32>& GFXDevice::getMatrix(const MATRIX& mode) const {
162 162 return getMatrixInternal(mode);
163 163 }
164 164