Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/coelckers/gzdoom into gzdoom
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Apr 15, 2018
2 parents f5c2ffa + 88f856d commit 5b60a29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gl/compatibility/gl_20.cpp
Expand Up @@ -747,7 +747,7 @@ bool GLWall::PrepareLight(ADynamicLight * light, int pass)
float scale;

auto normal = glseg.Normal();
p.Set(normal, -normal.X * glseg.x1 - normal.Y * glseg.y1);
p.Set(normal, -normal.X * glseg.x1 - normal.Z * glseg.y1);

if (!p.ValidNormal())
{
Expand Down
2 changes: 1 addition & 1 deletion src/gl/scene/gl_walls_draw.cpp
Expand Up @@ -73,7 +73,7 @@ void GLWall::SetupLights()
lightdata.Clear();

auto normal = glseg.Normal();
p.Set(normal, -normal.X * glseg.x1 - normal.Y * glseg.y1);
p.Set(normal, -normal.X * glseg.x1 - normal.Z * glseg.y1);

FLightNode *node;
if (seg->sidedef == NULL)
Expand Down

0 comments on commit 5b60a29

Please sign in to comment.