<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - /usr/include/GL/glxext.h:480:143: error: 'GLintptr' has not been declared"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83631#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - /usr/include/GL/glxext.h:480:143: error: 'GLintptr' has not been declared"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83631">bug 83631</a>
from <span class="vcard"><a class="email" href="mailto:orion@cora.nwra.com" title="Orion Poplawski <orion@cora.nwra.com>"> <span class="fn">Orion Poplawski</span></a>
</span></b>
<pre>So, make the test:
$ cat gltest.c
#define GL_GLEXT_LEGACY
#include <GL/glx.h>
int main(void)
{
GLintptr p;
return 0;
}
$ gcc gltest.c
In file included from /usr/include/GL/glx.h:333:0,
from gltest.c:2:
/usr/include/GL/glxext.h:480:143: error: unknown type name ‘GLintptr’
typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext
readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr
readOffset, GLintptr writeOffset, GLsizeiptr size);
^
....
Now, I suppose it is kind of strange to define GL_GLEXT_LEGACY (not GLXEXT) and
then include glx.h, but...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>