Revert "fix mingw build for glfw3"

This reverts commit f833ffd8dd36315a5e3c6a33912b124c53f7e0aa.
add setUVs
Revert "upgrade to glfw 3"

This reverts commit 5a63f9932c5d2403438799b464cc33f5fb0a3676.