switch: add GLEW
This should make it easier to port projects that rely on GLEW.
Some patches were necessary because GLEW assumes that the system allows you to link directly to all OpenGL 1.1 functions. This is not true for the the implementation in devkitpro which requires that all functions are loaded from EGL. To solve this the patch enables GLEW to also wrangle OpenGL 1.1.
Another change that was needed to the build system to add targets that allow you to avoid building a shared library version of GLEW.
How did you submit this from an "unknown repository"?
How did you submit this from an "unknown repository"?
The account that submitted the PR has been removed. Please don't spam our PRs. We get quite enough email from this stuff as it is without necrobumping and marking PRs as "approved".
