diff options
Diffstat (limited to 'gpu/command_buffer/service/gl_context_mac.cc')
-rw-r--r-- | gpu/command_buffer/service/gl_context_mac.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gl_context_mac.cc b/gpu/command_buffer/service/gl_context_mac.cc index 6d2f726..3a5a03d 100644 --- a/gpu/command_buffer/service/gl_context_mac.cc +++ b/gpu/command_buffer/service/gl_context_mac.cc @@ -129,6 +129,12 @@ bool PbufferGLContext::Initialize(GLContextHandle shared_handle) { Destroy(); return false; } + + if (!InitializeCommon()) { + Destroy(); + return false; + } + #endif // UNIT_TEST return true; @@ -190,4 +196,4 @@ GLContextHandle PbufferGLContext::GetHandle() { #endif // UNIT_TEST } -} // namespace gpu +} // namespace gpu
\ No newline at end of file |