Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r--src/render/draw.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index 3fe64a5..18e587a 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -7,6 +7,7 @@
#include "core/core.h"
#include "core/model.h"
#include "render/render.h"
+#include "render/textures.h"
#include "render/draw.h"
namespace render
@@ -384,7 +385,7 @@ void draw_pass_model_fx() {
void draw_pass_model_lights()
{
//glPointSize(10);
- glBindTexture(GL_TEXTURE_2D, render::textures[3]); // bitmaps/fx/flare01.tga
+ Textures::bind("bitmaps/fx/flare00");
gl::enable(GL_TEXTURE_2D);
gl::begin(gl::Quads);