X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=specs%2Fd3d.py;h=ca1155167418a62b51b37b464f98130b9511bcd1;hb=cb9d2e002ba98b743851db4016dc68ba3ddbd845;hp=2a02afd61e559e44e8bc0afd4295dc8d7643e729;hpb=9a3468aaaab098377a39b8f2ab4649be4b028971;p=apitrace diff --git a/specs/d3d.py b/specs/d3d.py index 2a02afd..ca11551 100644 --- a/specs/d3d.py +++ b/specs/d3d.py @@ -48,8 +48,7 @@ d3ddpFlags = Flags(DWORD, [ "D3DDP_DONOTLIGHT", ]) -HRESULT = FakeEnum(HRESULT, [ - "D3D_OK", +HRESULT = MAKE_HRESULT(ok = "D3D_OK", errors = [ "D3DERR_BADMAJORVERSION", "D3DERR_BADMINORVERSION", "D3DERR_INVALID_DEVICE",