mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=ritu
--HG-- extra : source : b6d2d55223d2aa5cb85bbdf33075d1d38f2a9a30 extra : intermediate-source : 0ec90964e0bc479412a4da8a61d48b665211736e
This commit is contained in:
parent
ccaf3c7d85
commit
1b5b871bcd
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ CompositingRenderTargetOGL::BindRenderTarget()
|
|||
msg.AppendPrintf("Framebuffer not complete -- CheckFramebufferStatus returned 0x%x, "
|
||||
"GLContext=%p, IsOffscreen()=%d, mFBO=%d, aFBOTextureTarget=0x%x, "
|
||||
"aRect.width=%d, aRect.height=%d",
|
||||
result, mGL, mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
|
||||
result, mGL.get(), mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
|
||||
mInitParams.mSize.width, mInitParams.mSize.height);
|
||||
NS_WARNING(msg.get());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ private:
|
|||
* the target is always cleared at the end of a frame.
|
||||
*/
|
||||
RefPtr<CompositorOGL> mCompositor;
|
||||
GLContext* mGL;
|
||||
RefPtr<GLContext> mGL;
|
||||
GLuint mTextureHandle;
|
||||
GLuint mFBO;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue