Bug 18646 - Installed glcore.h file is incomplete
Summary: Installed glcore.h file is incomplete
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: PowerPC Mac OS X (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-20 15:31 UTC by Peter Dyballa
Modified: 2011-09-25 11:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Dyballa 2008-11-20 15:31:16 UTC
While trying to build xorg-server 1.4.2-apple23 compilation fails in xserver/GL/glx/glcontextmodes.c:

	glcontextmodes.c: In function '_gl_copy_visual_to_context_mode':
	glcontextmodes.c:190: error: 'struct __GLcontextModesRec' has no member named 'bindToTextureRgb'
	glcontextmodes.c:191: error: 'struct __GLcontextModesRec' has no member named 'bindToTextureRgba'
	glcontextmodes.c:193: error: 'struct __GLcontextModesRec' has no member named 'bindToMipmapTexture'
	glcontextmodes.c:194: error: 'struct __GLcontextModesRec' has no member named 'bindToTextureTargets'
	glcontextmodes.c:197: error: 'struct __GLcontextModesRec' has no member named 'yInverted'

(plus some more of the same contents). In Mesa's glcore.h the struct __GLcontextModesRec has at the end

     /* EXT_texture_from_pixmap */
     GLint bindToTextureRgb;
     GLint bindToTextureRgba;
     GLint bindToMipmapTexture;
     GLint bindToTextureTargets;
     GLint yInverted;

while the installed glcore.h from proto/glproto/glcore.h misses the members as listed above.
Comment 1 Jeremy Huddleston Sequoia 2009-01-07 11:10:42 UTC
It should be using glcore.h from Mesa-7.0.4.

I vote to nuke it from glproto.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.