From 47bb09bc4b87c509ae628128a2b4743b075d4dd5 Mon Sep 17 00:00:00 2001 From: Hamdi Sahloul Date: Mon, 24 Sep 2018 17:27:03 +0900 Subject: [PATCH] OpenGL: avoid losing precision in double-to-float conversion --- modules/core/src/opengl.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/core/src/opengl.cpp b/modules/core/src/opengl.cpp index b10c82e88f..d98663b09b 100644 --- a/modules/core/src/opengl.cpp +++ b/modules/core/src/opengl.cpp @@ -1434,14 +1434,14 @@ void cv::ogl::render(const ogl::Texture2D& tex, Rect_ wndRect, Rect_ wndRect, Rect_ wndRect, Rect_