adding multisampling for opengl and fixing setpixelformat issues