ptcloud: fix viz3d build without OpenGL

Close the cv::viz3d namespaces outside the trailing #ifdef HAVE_OPENGL
block. Previously the closing braces were inside the guard, so a build
with OpenGL disabled dropped them and failed with
'expected }' at end of input'.
This commit is contained in:
kirtijindal14
2026-07-27 17:52:14 +05:30
parent 553a8887bf
commit 1ca068e91d

View File

@@ -1534,7 +1534,7 @@ void PointCloud::setShader(ogl::Program program_)
this->proj_loc = this->program.getUniformLocation("proj");
}
#endif // HAVE_OPENGL
} // namespace viz3d
} // namespace cv
#endif