Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 826 vs 827 for /trunk/Source Code/Platform/Video/GFXDevice.cpp

Diff revisions: vs.
  @@ -412,14 +412,14 @@
412 412
413 413 void GFXDevice::renderFromCamera(Camera& camera) {
414 414 Camera::activeCamera(&camera);
415 -
416 - camera.updateLookAt();
417 415 // Tell the Rendering API to draw from our desired PoV
418 - GFXShaderData::GPUData& data = _gpuBlock._data;
416 + camera.updateLookAt();
417 +
419 418
420 419 const mat4<F32>& viewMatrix = camera.getViewMatrix();
421 420 const mat4<F32>& projMatrix = camera.getProjectionMatrix();
422 421
422 + GFXShaderData::GPUData& data = _gpuBlock._data;
423 423 bool viewMatUpdated = viewMatrix != data._ViewMatrix;
424 424 bool projMatUpdated = projMatrix != data._ProjectionMatrix;
425 425 if (viewMatUpdated) {