Bug 1329362 - part 3, Convert GLContext::RenewSurface to use CompositorWidget in place of nsIWidget r=kats
This commit is contained in:
@@ -52,7 +52,7 @@ CompositingRenderTargetOGL::BindRenderTarget()
|
||||
// The main framebuffer (0) of non-offscreen contexts
|
||||
// might be backed by a EGLSurface that needs to be renewed.
|
||||
if (mFBO == 0 && !mGL->IsOffscreen()) {
|
||||
mGL->RenewSurface(mCompositor->GetWidget()->RealWidget());
|
||||
mGL->RenewSurface(mCompositor->GetWidget());
|
||||
result = mGL->fCheckFramebufferStatus(LOCAL_GL_FRAMEBUFFER);
|
||||
}
|
||||
if (result != LOCAL_GL_FRAMEBUFFER_COMPLETE) {
|
||||
|
||||
Reference in New Issue
Block a user