From 0081fa7a47d6bd29214f2353cbe33490cd150d43 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 29 May 2022 20:05:37 +0900 Subject: [PATCH] internal/graphicsdriver/directx: add a comment --- internal/graphicsdriver/directx/graphics_windows.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/graphicsdriver/directx/graphics_windows.go b/internal/graphicsdriver/directx/graphics_windows.go index 4d5b93a73..f06d378dc 100644 --- a/internal/graphicsdriver/directx/graphics_windows.go +++ b/internal/graphicsdriver/directx/graphics_windows.go @@ -38,6 +38,7 @@ const is64bit = uint64(^uintptr(0)) == ^uint64(0) // In 32bit machines, DirectX is not used because // 1) The functions syscall.Syscall cannot accept 64bit values as one argument // 2) The struct layouts can be different +// TODO: Support DirectX for 32bit machines (#2088). var isDirectXAvailable = is64bit && theGraphics.initializeDevice() == nil var theGraphics Graphics