Bug 894891 - Use the correct shader for b2g video. r=nrc
authorMatt Woodrow <mwoodrow@mozilla.com>
Thu, 18 Jul 2013 23:05:06 -0400
changeset 139202 d1902866884cd4680da80396a92f81db97e719f2
parent 139201 111b3d84c47993ecd0fb6be2bbc2c6b507764316
child 139203 d220422b5e8da3bb187e5aa1f42dc86c16bc412d
push idunknown
push userunknown
push dateunknown
reviewersnrc
bugs894891
milestone25.0a1
Bug 894891 - Use the correct shader for b2g video. r=nrc
gfx/layers/opengl/TextureHostOGL.h
--- a/gfx/layers/opengl/TextureHostOGL.h
+++ b/gfx/layers/opengl/TextureHostOGL.h
@@ -616,16 +616,21 @@ public:
     return mFormat;
   }
 
   GLenum GetWrapMode() const MOZ_OVERRIDE
   {
     return LOCAL_GL_CLAMP_TO_EDGE;
   }
 
+  virtual GLenum GetTextureTarget() const MOZ_OVERRIDE
+  {
+    return mTextureTarget;
+  }
+
   bool IsValid() const MOZ_OVERRIDE;
 
   virtual already_AddRefed<gfxImageSurface> GetAsSurface() MOZ_OVERRIDE;
 
 #ifdef MOZ_LAYERS_HAVE_LOG
   virtual const char* Name() { return "GrallocDeprecatedTextureHostOGL"; }
 #endif