diff options
Diffstat (limited to '')
| -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) { | |||
| 94 | // NOTE: We clip against a w=epsilon plane to guarantee that the output has a positive w value. | 94 | // NOTE: We clip against a w=epsilon plane to guarantee that the output has a positive w value. |
| 95 | // TODO: Not sure if this is a valid approach. Also should probably instead use the smallest | 95 | // TODO: Not sure if this is a valid approach. Also should probably instead use the smallest |
| 96 | // epsilon possible within float24 accuracy. | 96 | // epsilon possible within float24 accuracy. |
| 97 | static const float24 EPSILON = float24::FromFloat32(0.00001); | 97 | static const float24 EPSILON = float24::FromFloat32(0.00001f); |
| 98 | static const float24 f0 = float24::FromFloat32(0.0); | 98 | static const float24 f0 = float24::FromFloat32(0.0); |
| 99 | static const float24 f1 = float24::FromFloat32(1.0); | 99 | static const float24 f1 = float24::FromFloat32(1.0); |
| 100 | static const std::array<ClippingEdge, 7> clipping_edges = {{ | 100 | static const std::array<ClippingEdge, 7> clipping_edges = {{ |