option to turn off getError() for OpenGL, warnings

clang complains when you don't handle all the possible values of an enumin a
switch

Conflicts:
	src/Engine/OpenGL.h
Merge pull request #356 from hmaon/opengl

option to turn off getError() for OpenGL, warnings