aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2023-05-18 11:57:55 +0100
committerGitHub <noreply@github.com>2023-05-18 11:57:55 +0100
commit6639b7d01799797c5e36a0ccd32792ed0ab54e8a (patch)
treed08b2d6eb48880f3f9ff87e5428f72b618b07ba4
parent7702a488e5ac91b910e9160df4e12bb6a8c8c2c7 (diff)
parent808e7ed4ae224806ab850feacacf5fa4682cfcc5 (diff)
Merge pull request #2500 from Ahsan-Sarbaz/master
Fixed a bug in DXGI
-rw-r--r--vendor/directx/dxgi/dxgi.odin8
1 files 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,