Bug 1066280 - Fix non-unified bustage. CLOSED TREE
--- a/gfx/gl/GLScreenBuffer.cpp
+++ b/gfx/gl/GLScreenBuffer.cpp
@@ -43,20 +43,20 @@ GLScreenBuffer::Create(GLContext* gl,
#ifdef MOZ_WIDGET_GONK
/* On B2G, we want a Gralloc factory, and we want one right at the start */
layers::ISurfaceAllocator* allocator = caps.surfaceAllocator;
if (!factory &&
allocator &&
XRE_GetProcessType() != GeckoProcessType_Default)
{
- layers::TextureFlags flags = TextureFlags::DEALLOCATE_CLIENT |
- TextureFlags::NEEDS_Y_FLIP;
+ layers::TextureFlags flags = layers::TextureFlags::DEALLOCATE_CLIENT |
+ layers::TextureFlags::NEEDS_Y_FLIP;
if (!caps.premultAlpha) {
- flags |= TextureFlags::NON_PREMULTIPLIED;
+ flags |= layers::TextureFlags::NON_PREMULTIPLIED;
}
factory = MakeUnique<SurfaceFactory_Gralloc>(gl, caps, flags,
allocator);
}
#endif
#ifdef XP_MACOSX
/* On OSX, we want an IOSurface factory, and we want one right at the start */