Ported the CaptureGL.h to windows