Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render/draw.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index af5cf41..cb8649f 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -959,11 +959,11 @@ void draw_pass_model_fx(float elapsed)
// draw the quad
gl::color(color);
- glTexCoord2f(0, 1);
+ glTexCoord2f(1, 0);
gl::vertex(location + (Camera::axis().up() - Camera::axis().left()) * light_size);
glTexCoord2f(0, 0);
gl::vertex(location + (Camera::axis().up() + Camera::axis().left()) * light_size);
- glTexCoord2f(1, 0);
+ glTexCoord2f(0, 1);
gl::vertex(location + (Camera::axis().up() * -1 + Camera::axis().left()) * light_size);
glTexCoord2f(1, 1);
gl::vertex(location + (Camera::axis().up() * -1 - Camera::axis().left()) * light_size);
@@ -1055,11 +1055,11 @@ void draw_pass_model_fx(float elapsed)
// draw the quad
gl::color(color);
- glTexCoord2f(0, 1);
+ glTexCoord2f(1, 0);
gl::vertex(location + (flare_axis.up() + flare_axis.left()) * light_size);
glTexCoord2f(0, 0);
gl::vertex(location + (flare_axis.up() - flare_axis.left()) * light_size);
- glTexCoord2f(1, 0);
+ glTexCoord2f(0, 1);
gl::vertex(location + (flare_axis.up() * -1 - flare_axis.left()) * light_size);
glTexCoord2f(1, 1);
gl::vertex(location + (flare_axis.up() * -1 + flare_axis.left()) * light_size);