vcl: check the OpenGL drawable as well as the context.

Change-Id: Idac493dfb3239f7ae5b5e49158d79c4f3e707509