Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
Fix #36
Browse files Browse the repository at this point in the history
  • Loading branch information
Dgame committed Mar 21, 2015
1 parent e38fd61 commit 0825970
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/Dgame/Graphic/Shape.d
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ protected:

// prevent 64 bit bug, because *.length is size_t and therefore on 64 bit platforms ulong
wnd.draw(this.geometry, super.getMatrix(), _texture, _vertices.ptr, cast(uint) _vertices.length);

// reset global behaviour
if (this.fill != Fill.Full)
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
}

public:
Expand Down

0 comments on commit 0825970

Please sign in to comment.