fix multisample support in OpenGL

Change-Id: I7e530f5ae8d83d275df554781847b525b38bf4c7