mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786979 - Use a new constant for returning ICoreWindow from GetNativeData. r=bbondy
This commit is contained in:
parent
16df0d74d2
commit
1be60a7fb4
@ -244,7 +244,7 @@ LayerManagerD3D10::Initialize(bool force)
|
||||
*/
|
||||
nsRefPtr<IDXGISwapChain1> swapChain1;
|
||||
hr = dxgiFactory->CreateSwapChainForCoreWindow(
|
||||
dxgiDevice, (IUnknown *)mWidget->GetNativeData(NS_NATIVE_WINDOW),
|
||||
dxgiDevice, (IUnknown *)mWidget->GetNativeData(NS_NATIVE_ICOREWINDOW),
|
||||
&swapDesc, nullptr, getter_AddRefs(swapChain1));
|
||||
if (FAILED(hr)) {
|
||||
return false;
|
||||
|
@ -85,6 +85,7 @@ typedef nsEventStatus (* EVENT_CALLBACK)(nsGUIEvent *event);
|
||||
#define NS_NATIVE_TSF_THREAD_MGR 100
|
||||
#define NS_NATIVE_TSF_CATEGORY_MGR 101
|
||||
#define NS_NATIVE_TSF_DISPLAY_ATTR_MGR 102
|
||||
#define NS_NATIVE_ICOREWINDOW 103 // winrt specific
|
||||
#endif
|
||||
|
||||
#define NS_IWIDGET_IID \
|
||||
|
Loading…
Reference in New Issue
Block a user