http://qa.mandrakesoft.com/show_bug.cgi?id=4880





------- Additional Comments From [EMAIL PROTECTED]  2003-25-08 03:42 -------
The header file is correct. I looked at the RedHat bugzilla page, and they
look like they have 'fixed' the problem, which is incorrect.
You try to use the _old_  version of multitexture API, with all functions
ending in _ARB. They are now introduced as standard calls. Browse trough
the header file:

#define GL_ARB_multitexture 1
...
#define GL_TEXTURE6_ARB             0x84C6
...
GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture);
...
#define GL_TEXTURE6             0x84C6
...
GLAPI void GLAPIENTRY glActiveTexture( GLenum texture );

and so on. They were added in OpenGL 1.3, so since then trying to use
the ARB functions is deprecated, and you must define the LEGACY to
access them. Be happy that they are not completely gone. What you
(or the writer of the code) should do is update your code...


-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
In /usr/X11R6/include/GL/gl.h, ARB extensions can be used only if
GL_GLEXT_LEGACY is defined, which isn't the case when including this header.
The fix used by RedHat is to move "#if defined(GL_GLEXT_LEGACY)" after "#endif
/* GL_ARB_multitexture */"
See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97840 for further
information.

Reply via email to