mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app/internal/d3d11: fix GOOS=windows GOARCH=386 build
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -533,7 +533,7 @@ type _D3D11_MAPPED_SUBRESOURCE struct {
|
||||
|
||||
type ErrorCode struct {
|
||||
Name string
|
||||
Code int
|
||||
Code uint
|
||||
}
|
||||
|
||||
type _D3D11_RASTERIZER_DESC struct {
|
||||
@@ -969,7 +969,7 @@ func (s *_IDXGISwapChain) Present(SyncInterval int, Flags uint32) error {
|
||||
uintptr(Flags),
|
||||
)
|
||||
if r != 0 {
|
||||
return ErrorCode{Name: "IDXGISwapChainPresent", Code: int(r)}
|
||||
return ErrorCode{Name: "IDXGISwapChainPresent", Code: uint(r)}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user