aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-05-21 12:59:16 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2022-05-21 12:59:16 +0200
commitd10a2bc5d579c5e2d535253cb4b6c36dae388b59 (patch)
tree357e95eb5b68e034ae7753688e0ce708287bdab8
parenta5bf3b0bc58d0ce88eacaef0c7259186d2f87f8f (diff)
Format DXGI constants
-rw-r--r--vendor/directx/dxgi/dxgi.odin56
1 files changed, 28 insertions, 28 deletions
diff --git a/vendor/directx/dxgi/dxgi.odin b/vendor/directx/dxgi/dxgi.odin
index 196cb0e96..ae0cfd17a 100644
--- a/vendor/directx/dxgi/dxgi.odin
+++ b/vendor/directx/dxgi/dxgi.odin
@@ -1140,31 +1140,31 @@ IAdapter3_VTable :: struct {
UnregisterVideoMemoryBudgetChangeNotification: proc "stdcall" (this: ^IAdapter3, dwCookie: u32),
}
-ERROR_ACCESS_DENIED :HRESULT: -2005270485 //0x887A002B
-ERROR_ACCESS_LOST :HRESULT: -2005270490 //0x887A0026
-ERROR_ALREADY_EXISTS :HRESULT: -2005270474 //0x887A0036
-ERROR_CANNOT_PROTECT_CONTENT :HRESULT: -2005270486 //0x887A002A
-ERROR_DEVICE_HUNG :HRESULT: -2005270522 //0x887A0006
-ERROR_DEVICE_REMOVED :HRESULT: -2005270523 //0x887A0005
-ERROR_DEVICE_RESET :HRESULT: -2005270521 //0x887A0007
-ERROR_DRIVER_INTERNAL_ERROR :HRESULT: -2005270496 //0x887A0020
-ERROR_FRAME_STATISTICS_DISJOINT :HRESULT: -2005270517 //0x887A000B
-ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE :HRESULT: -2005270516 //0x887A000C
-ERROR_INVALID_CALL :HRESULT: -2005270527 //0x887A0001
-ERROR_MORE_DATA :HRESULT: -2005270525 //0x887A0003
-ERROR_NAME_ALREADY_EXISTS :HRESULT: -2005270484 //0x887A002C
-ERROR_NONEXCLUSIVE :HRESULT: -2005270495 //0x887A0021
-ERROR_NOT_CURRENTLY_AVAILABLE :HRESULT: -2005270494 //0x887A0022
-ERROR_NOT_FOUND :HRESULT: -2005270526 //0x887A0002
-ERROR_REMOTE_CLIENT_DISCONNECTED :HRESULT: -2005270493 //0x887A0023
-ERROR_REMOTE_OUTOFMEMORY :HRESULT: -2005270492 //0x887A0024
-ERROR_RESTRICT_TO_OUTPUT_STALE :HRESULT: -2005270487 //0x887A0029
-ERROR_SDK_COMPONENT_MISSING :HRESULT: -2005270483 //0x887A002D
-ERROR_SESSION_DISCONNECTED :HRESULT: -2005270488 //0x887A0028
-ERROR_UNSUPPORTED :HRESULT: -2005270524 //0x887A0004
-ERROR_WAIT_TIMEOUT :HRESULT: -2005270489 //0x887A0027
-ERROR_WAS_STILL_DRAWING :HRESULT: -2005270518 //0x887A000A
-
-STATUS_OCCLUDED :HRESULT: 142213121 //0x087A0001
-STATUS_MODE_CHANGED :HRESULT: 142213127 //0x087A0007
-STATUS_MODE_CHANGE_IN_PROGRESS :HRESULT: 142213128 //0x087A0008 \ No newline at end of file
+ERROR_ACCESS_DENIED :: HRESULT(-2005270485) //0x887A002B
+ERROR_ACCESS_LOST :: HRESULT(-2005270490) //0x887A0026
+ERROR_ALREADY_EXISTS :: HRESULT(-2005270474) //0x887A0036
+ERROR_CANNOT_PROTECT_CONTENT :: HRESULT(-2005270486) //0x887A002A
+ERROR_DEVICE_HUNG :: HRESULT(-2005270522) //0x887A0006
+ERROR_DEVICE_REMOVED :: HRESULT(-2005270523) //0x887A0005
+ERROR_DEVICE_RESET :: HRESULT(-2005270521) //0x887A0007
+ERROR_DRIVER_INTERNAL_ERROR :: HRESULT(-2005270496) //0x887A0020
+ERROR_FRAME_STATISTICS_DISJOINT :: HRESULT(-2005270517) //0x887A000B
+ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE :: HRESULT(-2005270516) //0x887A000C
+ERROR_INVALID_CALL :: HRESULT(-2005270527) //0x887A0001
+ERROR_MORE_DATA :: HRESULT(-2005270525) //0x887A0003
+ERROR_NAME_ALREADY_EXISTS :: HRESULT(-2005270484) //0x887A002C
+ERROR_NONEXCLUSIVE :: HRESULT(-2005270495) //0x887A0021
+ERROR_NOT_CURRENTLY_AVAILABLE :: HRESULT(-2005270494) //0x887A0022
+ERROR_NOT_FOUND :: HRESULT(-2005270526) //0x887A0002
+ERROR_REMOTE_CLIENT_DISCONNECTED :: HRESULT(-2005270493) //0x887A0023
+ERROR_REMOTE_OUTOFMEMORY :: HRESULT(-2005270492) //0x887A0024
+ERROR_RESTRICT_TO_OUTPUT_STALE :: HRESULT(-2005270487) //0x887A0029
+ERROR_SDK_COMPONENT_MISSING :: HRESULT(-2005270483) //0x887A002D
+ERROR_SESSION_DISCONNECTED :: HRESULT(-2005270488) //0x887A0028
+ERROR_UNSUPPORTED :: HRESULT(-2005270524) //0x887A0004
+ERROR_WAIT_TIMEOUT :: HRESULT(-2005270489) //0x887A0027
+ERROR_WAS_STILL_DRAWING :: HRESULT(-2005270518) //0x887A000A
+
+STATUS_OCCLUDED :: HRESULT( 142213121) //0x087A0001
+STATUS_MODE_CHANGED :: HRESULT( 142213127) //0x087A0007
+STATUS_MODE_CHANGE_IN_PROGRESS :: HRESULT( 142213128) //0x087A0008 \ No newline at end of file