]> git.cworth.org Git - apitrace/blobdiff - specs/d3d.py
Improve HRESULT handling.
[apitrace] / specs / d3d.py
index c390501f14def34120c7f27a08805aeb5406e63f..2a02afd61e559e44e8bc0afd4295dc8d7643e729 100644 (file)
@@ -48,7 +48,7 @@ d3ddpFlags = Flags(DWORD, [
     "D3DDP_DONOTLIGHT",
 ])
 
-HRESULT = Enum("HRESULT", [
+HRESULT = FakeEnum(HRESULT, [
     "D3D_OK",
     "D3DERR_BADMAJORVERSION",
     "D3DERR_BADMINORVERSION",