Commit 71e9ddbd authored by Chris Jones's avatar Chris Jones
Browse files

Bug 738158, part 2: Set the wrap mode for cairo images. r=ajuma

parent 9ac0f342
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -557,6 +557,8 @@ ImageLayerOGL::AllocateTexturesCairo(CairoImage *aImage)
  GLuint tex = texture.GetTextureID();
  gl->fActiveTexture(LOCAL_GL_TEXTURE0);

  SetClamping(gl, tex);

#if defined(MOZ_WIDGET_GTK2) && !defined(MOZ_PLATFORM_MAEMO)
  if (sGLXLibrary.SupportsTextureFromPixmap(aImage->mSurface)) {
    if (aImage->mSurface->GetContentType() == gfxASurface::CONTENT_COLOR_ALPHA) {