OpenGLContext: More error handling.
OpenGLContext: More error handling.

Change-Id: Ib92adfc83c963ecfcfa7fdbc2ec71f363a181330

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core