From 92bfec0566d2ee61715600b1090e0981cfab0d9e Mon Sep 17 00:00:00 2001 From: zawata Date: Fri, 26 Jun 2015 00:28:11 -0700 Subject: VideoCore: Fix floating point warning --- src/video_core/clipper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 clipping_edges = {{ -- cgit v1.2.3