pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaDemos deal with lack of GL_TEXTURE_BUFFER...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ac2a1aaaec5
branches: trunk
changeset: 649939:6ac2a1aaaec5
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Apr 13 14:00:17 2015 +0000
description:
deal with lack of GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT
diffstat:
graphics/MesaDemos/distinfo | 3 +-
graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c | 13 ++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r ac1c00642512 -r 6ac2a1aaaec5 graphics/MesaDemos/distinfo
--- a/graphics/MesaDemos/distinfo Mon Apr 13 13:54:17 2015 +0000
+++ b/graphics/MesaDemos/distinfo Mon Apr 13 14:00:17 2015 +0000
@@ -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 -r ac1c00642512 -r 6ac2a1aaaec5 graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c Mon Apr 13 14:00:17 2015 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index