Revert "updated opencv from 246 to 248 with OpenGL enabled"

This reverts commit 44d156c3becc174855d5843c9117ba5652b1ef65.