Fix OpenGL warnings...

Fix the warning on macos.
However I put an issue related to the color and display of topology SCell where colors are missing (but not related to this PR).