From 55ce42ef61890209366e414a553e493e1583cd1b Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 1 Apr 2024 21:26:37 -0400 Subject: [PATCH] Flipping puts image in top left where expected --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 3ee25ed..e47bdaf 100644 --- a/main.cpp +++ b/main.cpp @@ -37,7 +37,7 @@ void loadTexture (GLuint& imageTexture1) cout << "loaded " << image_path << endl; cout << " dim " << loaded.cols << "x" << loaded.rows << endl; loaded.copyTo(image(Rect(0, 0, loaded.cols, loaded.rows))); - //flip(image, image, 0); + flip(image, image, 0); #if (CV_VERSION_MAJOR >= 4) cvtColor(image, image, cv::COLOR_BGR2RGB); #else