diff options
author | tnn <tnn@pkgsrc.org> | 2015-04-13 14:00:17 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-04-13 14:00:17 +0000 |
commit | 9bb3f31031c158b65e73e903f6d2b4aa2093ec75 (patch) | |
tree | abf9e4f21fc1b7ef5f54f4278df7cff148fba72f /graphics/MesaDemos | |
parent | 40871c4c6f548bda460c6934e6b0c7b058a02bc8 (diff) | |
download | pkgsrc-9bb3f31031c158b65e73e903f6d2b4aa2093ec75.tar.gz |
deal with lack of GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT
Diffstat (limited to 'graphics/MesaDemos')
-rw-r--r-- | graphics/MesaDemos/distinfo | 3 | ||||
-rw-r--r-- | graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/MesaDemos/distinfo b/graphics/MesaDemos/distinfo index 1202f61fa84..675e29a28a9 100644 --- a/graphics/MesaDemos/distinfo +++ b/graphics/MesaDemos/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.21 2015/04/03 01:57:40 tnn Exp $ +$NetBSD: distinfo,v 1.22 2015/04/13 14:00:17 tnn Exp $ SHA1 (mesa-demos-8.2.0.tar.bz2) = e1a66ac63eebba4f950f95d830f34a6005167116 RMD160 (mesa-demos-8.2.0.tar.bz2) = e6804e480ed5d227ba689cb9b3ea95cc85353889 Size (mesa-demos-8.2.0.tar.bz2) = 10071635 bytes +SHA1 (patch-src_xdemos_glinfo__common.c) = 1f657daf58f2ae08a161cd7ab73285af441f17b0 diff --git a/graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c b/graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c new file mode 100644 index 00000000000..26ddc28af50 --- /dev/null +++ b/graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c @@ -0,0 +1,13 @@ +$NetBSD: patch-src_xdemos_glinfo__common.c,v 1.1 2015/04/13 14:00:17 tnn Exp $ + +--- src/xdemos/glinfo_common.c.orig 2014-07-05 08:17:06.000000000 +0000 ++++ src/xdemos/glinfo_common.c +@@ -569,7 +569,7 @@ print_limits(const char *extensions, con + { 1, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS", "GL_EXT_transform_feedback", }, + { 1, GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT, "GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS", "GL_EXT_transform_feedback" }, + #endif +-#if defined (GL_ARB_texture_buffer_object) ++#if defined (GL_ARB_texture_buffer_object) && defined(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT) + { 1, GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, "GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT", "GL_ARB_texture_buffer_object" }, + { 1, GL_MAX_TEXTURE_BUFFER_SIZE, "GL_MAX_TEXTURE_BUFFER_SIZE", "GL_ARB_texture_buffer_object" }, + #endif |