desktop: fix some Windows errors, strictly require opengl