main: removed redundant OpenGL code

This is going to be the last commit I do on GLU. I'm researching on how to transition to EGL and get this damn thing running on Wayland.