ecere/gfx/3D: Camera integration support
[sdk] / ecere / src / gfx / Display.ec
index a403299..62c6e94 100644 (file)
@@ -613,7 +613,7 @@ public:
             camera.Setup(width, height, null);
 
          // Always calling Update() here had broken interpolation in OrbitWithMouse!
-         if(!camera.cAngle.w)
+         if(!camera.cAngle.w && surface)
             camera.Update();
 
          if(display3D.selection)