File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -122,20 +122,10 @@ bool AngleSurfaceManager::Initialize() {
122122 EGL_NONE,
123123 };
124124
125- // These are used to request ANGLE's D3D9 renderer as a fallback if D3D11
126- // is not available.
127- const EGLint d3d9_display_attributes[] = {
128- EGL_PLATFORM_ANGLE_TYPE_ANGLE,
129- EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE,
130- EGL_TRUE,
131- EGL_NONE,
132- };
133-
134125 std::vector<const EGLint*> display_attributes_configs = {
135126 d3d11_display_attributes,
136127 d3d11_fl_9_3_display_attributes,
137128 d3d11_warp_display_attributes,
138- d3d9_display_attributes,
139129 };
140130
141131 PFNEGLGETPLATFORMDISPLAYEXTPROC egl_get_platform_display_EXT =
@@ -147,7 +137,7 @@ bool AngleSurfaceManager::Initialize() {
147137 }
148138
149139 // Attempt to initialize ANGLE's renderer in order of: D3D11, D3D11 Feature
150- // Level 9_3, D3D11 WARP and finally D3D9 .
140+ // Level 9_3 and finally D3D11 WARP .
151141 for (auto config : display_attributes_configs) {
152142 bool should_log = (config == display_attributes_configs.back ());
153143 if (InitializeEGL (egl_get_platform_display_EXT, config, should_log)) {
You can’t perform that action at this time.
0 commit comments