move shader functions to new file
Don't use glEnable(var, bool); some GL do not support the second argument.