diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2015-06-27 14:24:26 +0200 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2015-06-27 14:24:26 +0200 |
commit | 6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a (patch) | |
tree | ec1794b7b921d2d8692be6c884cf35053aa15671 /src | |
parent | Merge pull request #884 from chinhodado/patch-1 (diff) | |
parent | VideoCore: Fix floating point warning (diff) | |
download | yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.tar yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.tar.gz yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.tar.bz2 yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.tar.lz yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.tar.xz yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.tar.zst yuzu-6a0eea93e0dd46e6c2eb95b7c7e8beacd6534d6a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/clipper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp index 943f3eb35..224132d71 100644 --- a/src/video_core/clipper.cpp +++ b/src/video_core/clipper.cpp @@ -94,7 +94,7 @@ void ProcessTriangle(OutputVertex &v0, OutputVertex &v1, OutputVertex &v2) { // NOTE: We clip against a w=epsilon plane to guarantee that the output has a positive w value. // TODO: Not sure if this is a valid approach. Also should probably instead use the smallest // epsilon possible within float24 accuracy. - static const float24 EPSILON = float24::FromFloat32(0.00001); + static const float24 EPSILON = float24::FromFloat32(0.00001f); static const float24 f0 = float24::FromFloat32(0.0); static const float24 f1 = float24::FromFloat32(1.0); static const std::array<ClippingEdge, 7> clipping_edges = {{ |