From: Martell Malone Subject: d3d11: Add prototype for CreateDeviceAndSwapChain Message-Id: Date: Mon, 9 Feb 2015 09:26:33 +0000 Based on input from various devs here is hopefully the final patch set
Based on input from various devs here is hopefully the final patch set
From a57c3106168d60cdfdaa795761db0daf9461370f Mon Sep 17 00:00:00 2001 From: Martell Malone Date: Mon, 9 Feb 2015 08:25:34 +0000 Subject: [PATCH 1/6] d3d11: Add prototype for CreateDeviceAndSwapChain --- include/d3d11.idl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/d3d11.idl b/include/d3d11.idl index e472944..eccd502 100644 --- a/include/d3d11.idl +++ b/include/d3d11.idl @@ -1,6 +1,7 @@ /* * Copyright 2010 Rico Schüller * Copyright 2013 Austin English + * Copyright 2015 Martell Malone * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -2134,3 +2135,7 @@ cpp_quote(" UINT,UINT,ID3D11Device**,D3D_FEATURE_LEVEL*,ID3D11DeviceContext** cpp_quote("typedef HRESULT (WINAPI *PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,") cpp_quote(" const D3D_FEATURE_LEVEL*,UINT,UINT,const DXGI_SWAP_CHAIN_DESC*,IDXGISwapChain**,ID3D11Device**,") cpp_quote(" D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);") + +cpp_quote("HRESULT WINAPI D3D11CreateDeviceAndSwapChain(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,") +cpp_quote(" const D3D_FEATURE_LEVEL*,UINT,UINT,const DXGI_SWAP_CHAIN_DESC*,IDXGISwapChain**,ID3D11Device**,") +cpp_quote(" D3D_FEATURE_LEVEL*,ID3D11DeviceContext**);") -- 2.2.2