Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 11:46:56 +0900
From:      "Akinori MUSHA" <knu@idaemons.org>
To:        freebsd-ports@FreeBSD.org
Subject:   GL_CLIENT_ALL_ATTRIB_BITS or GL_ALL_CLIENT_ATTRIB_BITS?
Message-ID:  <86lmvxwgyn.wl@archon.local.idaemons.org>

next in thread | raw e-mail | index | archive | help
This seems to be a discrepancy between Mesa3 and XFree86 4.0's Mesa.

http://bento.FreeBSD.org/errorlogs/4-latest/ruby-opengl-0.31_1.log

Take a look at graphics/ruby-opengl's patch-ab.  This patch wasn't
needed when Mesa3 was version 3.2 because it defined
GL_CLIENT_ALL_ATTRIB_BITS, but on version 3.2.1 it was changed to
GL_ALL_CLIENT_ATTRIB_BITS and I had to add the patch.

Now, XFree86 4.0 is found to lack the latter one...  I don't have
XFree86 4.0 installed on any of my boxen, so would someone please
check XFree86 4.0 and tell me if it has GL_CLIENT_ALL_ATTRIB_BITS, or
something other than that?

If it has GL_CLIENT_ALL_ATTRIB_BITS, I could change the part to
something like this:

#ifdef GL_CLIENT_ALL_ATTRIB_BITS
    /* For Mesa 3.2 and XFree86 4.0 */
    rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_CLIENT_ALL_ATTRIB_BITS));
#endif
#ifdef GL_ALL_CLIENT_ATTRIB_BITS
    /* For Mesa 3.2.1 */
    rb_define_const(mOGL, "CLIENT_ALL_ATTRIB_BITS", INT2NUM(GL_ALL_CLIENT_ATTRIB_BITS));
#endif

-- 
                           /
                          /__  __       
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  @ idaemons.org / FreeBSD.org

"We're only at home when we're on the run, on the wing, on the fly"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lmvxwgyn.wl>