Seperate gl.h and glconfig.h and fix newTexture with fill color