diff --git a/doc.go b/doc.go index 9d1dce203..d33815118 100644 --- a/doc.go +++ b/doc.go @@ -83,7 +83,7 @@ // // `EBITENGINE_DIRECTX_FEATURE_LEVEL` environment variable specifies DirectX feature level. // The possible values are "11_0", "11_1", "12_0", "12_1", and "12_2". -// The default value is "12_0". +// The default value is "11_0". // // `EBITENGINE_OPENGL` environment variable specifies various parameters for OpenGL. // You can specify multiple values separated by a comma. The default value is empty (i.e. no parameters). diff --git a/internal/graphicsdriver/directx/graphics_windows.go b/internal/graphicsdriver/directx/graphics_windows.go index 34598a236..ba90579fd 100644 --- a/internal/graphicsdriver/directx/graphics_windows.go +++ b/internal/graphicsdriver/directx/graphics_windows.go @@ -173,9 +173,9 @@ func (g *Graphics) initialize() (ferr error) { } } - // Ebitengine itself doesn't require the features level 12 and 11 should be enough, - // but some old cards don't work well (#2447). Specify the level 12 by default. - var featureLevel _D3D_FEATURE_LEVEL = _D3D_FEATURE_LEVEL_12_0 + // Specify the level 11 by default. + // Some old cards don't work well with the default feature level (#2447, #2486). + var featureLevel _D3D_FEATURE_LEVEL = _D3D_FEATURE_LEVEL_11_0 if env := os.Getenv("EBITENGINE_DIRECTX_FEATURE_LEVEL"); env != "" { switch env { case "11_0":