We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed249a2 commit de88aeaCopy full SHA for de88aea
chromium/gpu/ipc/service/gpu_init.cc
@@ -296,13 +296,15 @@ void SetupGLDisplayManagerEGL(const GPUInfo& gpu_info,
296
GpuInit::GpuInit() = default;
297
298
GpuInit::~GpuInit() {
299
+#if BUILDFLAG(IS_WIN)
300
if (gl::GetGLImplementation() != gl::kGLImplementationDisabled) {
301
auto *gl_display = gl::init::GetOrInitializeGLOneOffPlatformImplementation(
302
false, false, false, gl::GpuPreference::kDefault);
303
if (gl_display) {
304
gl::init::ShutdownGL(gl_display, false);
305
}
306
307
+#endif // BUILDFLAG(IS_WIN)
308
309
StopForceDiscreteGPU();
310
0 commit comments