Fixed shader codes and enabled client state required for buffer
rendering.