Roderick Colenbrander : wgl: Get rid of glXQueryDrawable because officially it only works on GLXDrawables .