Removed platform-specfic code from render_ogl/display.cpp