mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42:02 +01:00
internal/winver: fix a panic message
This commit is contained in:
parent
aa55953c11
commit
ef1e495aba
@ -78,7 +78,7 @@ func _RtlVerifyVersionInfo(versionInfo *_OSVERSIONINFOEXW, typeMask uint32, cond
|
|||||||
// Adjust the alignment for ARM.
|
// Adjust the alignment for ARM.
|
||||||
r, _, _ = procRtlVerifyVersionInfo.Call(uintptr(unsafe.Pointer(versionInfo)), uintptr(typeMask), 0, uintptr(conditionMask), uintptr(conditionMask>>32))
|
r, _, _ = procRtlVerifyVersionInfo.Call(uintptr(unsafe.Pointer(versionInfo)), uintptr(typeMask), 0, uintptr(conditionMask), uintptr(conditionMask>>32))
|
||||||
default:
|
default:
|
||||||
panic(fmt.Sprintf("goglfw: GOARCH=%s is not supported", runtime.GOARCH))
|
panic(fmt.Sprintf("winver: GOARCH=%s is not supported", runtime.GOARCH))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return int32(r)
|
return int32(r)
|
||||||
|
Loading…
Reference in New Issue
Block a user