Prep for OpenGL canvas.