http://bugs.freedesktop.org/show_bug.cgi?id=10215
------- Comment #2 from [EMAIL PROTECTED] 2007-03-07 19:46 PST -------
It appears that the proper call is made only when a driver claims to support gl
version 1.5 or greater, and radeon claims to support 1.3.
Setting glewExperimental=GL_TRUE solves that part of the problem, but we seem
to get more problems than we fixed. A bunch of
Mesa 6.5.1 implementation error: User called no-op dispatch function (an
unsupported extension function?)
errors, followed by a segfault :/.
<...>
Mesa 6.5.1 implementation error: User called no-op dispatch function (an
unsupported extension function?)
Please report at bugzilla.freedesktop.org
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213884736 (LWP 3855)]
0xb79bb8f3 in _tnl_DrawElements () from /usr/lib/dri/radeon_dri.so
(gdb) bt
#0 0xb79bb8f3 in _tnl_DrawElements () from /usr/lib/dri/radeon_dri.so
#1 0xb78e8550 in ?? () from /usr/lib/dri/radeon_dri.so
#2 0x00000004 in ?? ()
#3 0x00000006 in ?? ()
#4 0x00001405 in ?? ()
#5 0x00000000 in ?? ()
(gdb)
Patch to the example code, in case anyone is interested:
diff -Naur VBODemo/VBODemo.cpp VBODemo_new/VBODemo.cpp
--- VBODemo/VBODemo.cpp 2007-03-05 19:21:37.000000000 -0700
+++ VBODemo_new/VBODemo.cpp 2007-03-07 20:35:06.000000000 -0700
@@ -17,6 +17,9 @@
//
// Prolly need some error check to see if initialization happened
+
+ glewExperimental = GL_TRUE;
+
GLenum initStatus = glewInit();
if( initStatus != GLEW_OK )
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel