SDL/OPENGL: replace warnings with debug message