mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/graphicsdriver/directx: add a comment
This commit is contained in:
parent
ad380a32f4
commit
0081fa7a47
@ -38,6 +38,7 @@ const is64bit = uint64(^uintptr(0)) == ^uint64(0)
|
|||||||
// In 32bit machines, DirectX is not used because
|
// In 32bit machines, DirectX is not used because
|
||||||
// 1) The functions syscall.Syscall cannot accept 64bit values as one argument
|
// 1) The functions syscall.Syscall cannot accept 64bit values as one argument
|
||||||
// 2) The struct layouts can be different
|
// 2) The struct layouts can be different
|
||||||
|
// TODO: Support DirectX for 32bit machines (#2088).
|
||||||
var isDirectXAvailable = is64bit && theGraphics.initializeDevice() == nil
|
var isDirectXAvailable = is64bit && theGraphics.initializeDevice() == nil
|
||||||
|
|
||||||
var theGraphics Graphics
|
var theGraphics Graphics
|
||||||
|
Loading…
Reference in New Issue
Block a user