diff options
Diffstat (limited to 'gpu/config/gpu_info_collector.cc')
-rw-r--r-- | gpu/config/gpu_info_collector.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/config/gpu_info_collector.cc b/gpu/config/gpu_info_collector.cc index 9404f3a..0bb83dd 100644 --- a/gpu/config/gpu_info_collector.cc +++ b/gpu/config/gpu_info_collector.cc @@ -82,6 +82,10 @@ namespace gpu { bool CollectGraphicsInfoGL(GPUInfo* gpu_info) { TRACE_EVENT0("startup", "gpu_info_collector::CollectGraphicsInfoGL"); + if (!gfx::GLSurface::InitializeOneOff()) { + LOG(ERROR) << "gfx::GLSurface::InitializeOneOff() failed"; + return false; + } scoped_refptr<gfx::GLSurface> surface(InitializeGLSurface()); if (!surface.get()) |