fixed return value load-ogl-* functions.