From af5ecaa6265afa364af2c079bc6bc28b218467d1 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Mon, 13 May 2013 16:52:55 +1200 Subject: [PATCH] Bug 870211 - Revert to using BasicTextureImage on CGL. r=roc --- gfx/gl/GLContextProviderCGL.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/gl/GLContextProviderCGL.mm b/gfx/gl/GLContextProviderCGL.mm index 6da2d6f0d252..c9eb976958a2 100644 --- a/gfx/gl/GLContextProviderCGL.mm +++ b/gfx/gl/GLContextProviderCGL.mm @@ -375,8 +375,7 @@ GLContextCGL::CreateTextureImage(const nsIntSize& aSize, return t.forget(); } - return CreateTextureImageInternal(aSize, aContentType, - aWrapMode, aFlags); + return CreateBasicTextureImage(this, aSize, aContentType, aWrapMode, aFlags); } already_AddRefed