Improves the creation of GLCapabilities

Runiter showed me that we didn't take into account the color depth when creating a GLCapabilities instance