X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fd3d10_1.py;h=73d798ec4405cb3e98288035bcbc6952eb2f5611;hb=81301939f025407ceb284a9dcd5d5a1f05d27b8f;hp=60a7656c45c1071295ce4feb94de6c7934a866b1;hpb=2b807458f983e01e6c5c49a6c77ee28a145a1b2d;p=apitrace diff --git a/specs/d3d10_1.py b/specs/d3d10_1.py index 60a7656..73d798e 100644 --- a/specs/d3d10_1.py +++ b/specs/d3d10_1.py @@ -100,7 +100,7 @@ ID3D10Device1.methods += [ StdMethod(D3D10_FEATURE_LEVEL1, "GetFeatureLevel", [], sideeffects=False), ] -d3d10_1 = API("d3d10_1") +d3d10_1 = Module("d3d10_1") d3d10_1.addFunctions([ StdFunction(HRESULT, "D3D10CreateDevice1", [(ObjPointer(IDXGIAdapter), "pAdapter"), (D3D10_DRIVER_TYPE, "DriverType"), (HMODULE, "Software"), (D3D10_CREATE_DEVICE_FLAG, "Flags"), (D3D10_FEATURE_LEVEL1, "HardwareLevel"), (UINT, "SDKVersion"), Out(Pointer(ObjPointer(ID3D10Device1)), "ppDevice")]), StdFunction(HRESULT, "D3D10CreateDeviceAndSwapChain1", [(ObjPointer(IDXGIAdapter), "pAdapter"), (D3D10_DRIVER_TYPE, "DriverType"), (HMODULE, "Software"), (D3D10_CREATE_DEVICE_FLAG, "Flags"), (D3D10_FEATURE_LEVEL1, "HardwareLevel"), (UINT, "SDKVersion"), (Pointer(DXGI_SWAP_CHAIN_DESC), "pSwapChainDesc"), Out(Pointer(ObjPointer(IDXGISwapChain)), "ppSwapChain"), Out(Pointer(ObjPointer(ID3D10Device1)), "ppDevice")]),