[Mesa-dev] [Bug 29910] Mesa advertises bogus GL_ARB_shading_language_120

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 22 01:03:56 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29910

--- Comment #10 from Kenneth Graunke <kenneth at whitecape.org> 2010-09-22 01:03:57 PDT ---
Unfortunately, the patch breaks the build for me:
brw_context.c:45:35: error: array type has incomplete element type
brw_context.c:46:22: error: ‘GL_VERSION_2_1_functions’ undeclared here (not in
a function)
brw_context.c: In function ‘brwCreateContext’:
brw_context.c:163:4: warning: implicit declaration of function
‘driInitExtensions’
brw_context.c: At top level:
brw_context.c:45:35: warning: ‘gl_21_extension’ defined but not used

I attached a patch which moves this to intel_extensions.c, where it probably
belongs...unfortunately, it doesn't /work/...running a random piglit test
gives:

Mesa 7.10-devel implementation error: Trying to enable unknown extension:
GL_VERSION_2_1

Perhaps you really just want to call _mesa_enable_2_1_extensions?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list