Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index bf69072..0a5c44e 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -16,7 +16,7 @@
#include "client/chat.h"
#include "client/console.h"
#include "client/video.h"
-#include "client/draw.h"
+#include "render/draw.h"
#include "render/render.h"
#include "core/core.h"
#include "math/mathlib.h"
@@ -188,7 +188,6 @@ void frame(float seconds)
gl::clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
if (core::application()->connected()) {
- // draw the game world
// Change to the projection matrix and set our viewing volume.
gl::matrixmode(GL_PROJECTION);
@@ -203,7 +202,8 @@ void frame(float seconds)
camera::draw(seconds); // draw the current camera transformation
- draw_world(seconds); // draw the world
+ render::draw(camera::target, seconds); // draw the world
+
}
// switch to ortographic projection to draw the GUI