X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fplatform%2Fgraphics%2Ftexmap%2FBitmapTextureGL.cpp;h=262b9df149a431992a0b0734d7d2ef1f08b7a159;hp=cf56eb27ed8b4fa70c8971a1ff9b3675457492e8;hb=c0cb979b1ebe94d1660101e4fdf97af0b45870bb;hpb=05c0a1a2908332ed2bfafa07930a01c884dc9c19 diff --git a/Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp b/Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp index cf56eb27ed8b..262b9df149a4 100644 --- a/Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp +++ b/Source/WebCore/platform/graphics/texmap/BitmapTextureGL.cpp @@ -288,7 +288,7 @@ void BitmapTextureGL::clearIfNeeded() return; m_clipStack.reset(IntRect(IntPoint::zero(), m_textureSize), ClipStack::YAxisMode::Default); - m_clipStack.applyIfNeeded(*m_context3D); + m_clipStack.applyIfNeeded(); m_context3D->clearColor(0, 0, 0, 0); m_context3D->clear(GraphicsContext3D::COLOR_BUFFER_BIT); m_shouldClear = false; @@ -312,7 +312,7 @@ void BitmapTextureGL::bindAsSurface(GraphicsContext3D* context3D) context3D->bindFramebuffer(GraphicsContext3D::FRAMEBUFFER, m_fbo); context3D->viewport(0, 0, m_textureSize.width(), m_textureSize.height()); clearIfNeeded(); - m_clipStack.apply(*m_context3D); + m_clipStack.apply(); } BitmapTextureGL::~BitmapTextureGL()