是否可以为兼容的设备上下文创建pBuffer
使用?wglCreatePbufferARB
HDC fHDC = ::GetDC((HWND)_window);
HDC _fHDC = ::CreateCompatibleDC(fHDC);
HBITMAP memBM = ::CreateCompatibleBitmap ( fHDC, bounds.xMax - bounds.xMin, bounds.yMax - bounds.yMin );
::SelectObject ( _fHDC, memBM );
later on, i'm creating pBuffer using calls -
wglChoosePixelFormatARB(_fHDC, iAttribList, fAttribList, 1,
&pixelFormat, &numFormats)
hBuffer=wglCreatePbufferARB(_fHDC, pixelFormat, width, height, flags);
我的电话wglChoosePixelFormatARB
失败了