Program fails to run if linked both libGLESv1_cm.so & libGLESv2.so in mesa 7.9.1

"Yang, Jin A" <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <625BA99ED14B2D499DC4E29D8138F15062AF7FC4AC@shsmsx502.ccr.corp.intel.com>
Hi,

My program both linked the libGLESv1_cm.so & libGLESv2.so by using -lGLESv1_cm -lGLESv2 when building the program. But my program failed to run, if I enable LIBGL_DEBUG, when program is running, some gl api call will print "no context" out from mesa lib, but some gl api call will success. After debug the mesa lib, I found some times the gl api jump into libGLESv1_cm.so, sometimes into libGLESv2.so(which will print no context").

My program have bind opengles api and create opengles 1.0 context. It seems mesa become confused if both link v1 & v2. Is there any solution to solve this conflict? By the way, my mesa lib version is 7.9.1. Thanks for any suggestion on it.

Regards,
Jin

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.