1 Aug 2003 18:47
[ mesa3d-Bugs-781602 ] glTexGeniv mem access error when called by glTexGeni
SourceForge.net <noreply <at> sourceforge.net>
2003-08-01 16:47:52 GMT
2003-08-01 16:47:52 GMT
Bugs item #781602, was opened at 2003-08-01 16:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100003&aid=781602&group_id=3 Category: mesa-core Group: other Status: Open Resolution: None Priority: 5 Submitted By: Michael Phillips (msphil) Assigned to: Nobody/Anonymous (nobody) Summary: glTexGeniv mem access error when called by glTexGeni Initial Comment: (Turned up using valgrind + Mesa + SoulRide) In the (I'm told, common) sequence: glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_OBJECT_LINEAR); glTexGenfv(GL_S, GL_OBJECT_PLANE, p); the call to glTexGeni passes through _mesa_TexGeni which passes the address of the third parm (in this case, GL_OBJECT_LINEAR) to _mesa_TexGeniv, which in turn creates a float[4] and treats p as an int[4] and assigns the values before calling glTexGenfv. As a result, _mesa_TexGeniv is accessing three undefined pointers.(Continue reading)
RSS Feed