summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstgles2.h
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2013-11-15 18:28:49 +1100
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:37:03 +0100
commitb90d824626c7ab22c47d1cb9634c5d311eb1ca9e (patch)
treebc4f7e0ca9d83fb0d469c95be2d1a27f2fb54551 /gst-libs/gst/gl/gstgles2.h
parent52a98695965ec4e8574cb92b1eb9a631ce8d38fc (diff)
[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE
We create our textures (in Desktop GL) with GL_TEXTURE_RECTANGLE, vaapi attempts to bind our texture to GL_TEXTURE_2D which throws a GL_INVALID_OPERATION error and as thus, no video. Also, by moving exclusively to GL_TEXTURE_2D and the npot extension we also remove a difference between the Desktop GL and GLES2 code. https://bugzilla.gnome.org/show_bug.cgi?id=712287
Diffstat (limited to 'gst-libs/gst/gl/gstgles2.h')
-rw-r--r--gst-libs/gst/gl/gstgles2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/gstgles2.h b/gst-libs/gst/gl/gstgles2.h
index 49e744be3..d16d0671f 100644
--- a/gst-libs/gst/gl/gstgles2.h
+++ b/gst-libs/gst/gl/gstgles2.h
@@ -37,8 +37,6 @@ G_BEGIN_DECLS
#define GL_UNSIGNED_INT_8_8_8_8_REV GL_UNSIGNED_BYTE
//END FIXME
-#define GL_TEXTURE_RECTANGLE_ARB GL_TEXTURE_2D
-
/* UNSUPPORTED */
#define GL_YCBCR_MESA 0