From 808e7ed4ae224806ab850feacacf5fa4682cfcc5 Mon Sep 17 00:00:00 2001 From: Ahsan-Sarbaz Date: Mon, 1 May 2023 00:16:20 +0500 Subject: [PATCH] Fixed Bug in DXGI --- vendor/directx/dxgi/dxgi.odin | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/directx/dxgi/dxgi.odin b/vendor/directx/dxgi/dxgi.odin index 5ad938ba0..dc1b73b1b 100644 --- a/vendor/directx/dxgi/dxgi.odin +++ b/vendor/directx/dxgi/dxgi.odin @@ -375,7 +375,7 @@ MAPPED_RECT :: struct { } ADAPTER_DESC :: struct { - Description: [128]i16, + Description: [128]u16, VendorId: u32, DeviceId: u32, SubSysId: u32, @@ -387,7 +387,7 @@ ADAPTER_DESC :: struct { } OUTPUT_DESC :: struct { - DeviceName: [32]i16, + DeviceName: [32]u16, DesktopCoordinates: RECT, AttachedToDesktop: BOOL, Rotation: MODE_ROTATION, @@ -613,7 +613,7 @@ ADAPTER_FLAG :: enum u32 { // TODO: convert to bit_set } ADAPTER_DESC1 :: struct { - Description: [128]i16, + Description: [128]u16, VendorId: u32, DeviceId: u32, SubSysId: u32, @@ -890,7 +890,7 @@ COMPUTE_PREEMPTION_GRANULARITY :: enum i32 { } ADAPTER_DESC2 :: struct { - Description: [128]i16, + Description: [128]u16, VendorId: u32, DeviceId: u32, SubSysId: u32,