fix glGetError compile errors
add assert(g_client) for glShaderSource