Remove loadshader function from main.cpp.