mangling.html revision 0b27aceae2464db3dd149cf4fd667e353a655c5e
1<HTML> 2 3<TITLE>Function Name Mangling</TITLE> 4 5<BODY text="#000000" bgcolor="#55bbff" link="#111188"> 6 7<H1>Function Name Mangling</H1> 8 9<p> 10If you want to use Mesa and native OpenGL in the same application at 11the same time you may find it useful to compile Mesa with 12<i>name mangling</i>. 13This results in all the Mesa functions being prefixed with 14<b>mgl</b> instead of <b>gl</b>. 15</p> 16 17<p> 18To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE. 19Add the flag to the other compiler flags in Make-config (if using the 20old-style build system) or in src/Makefile if using GNU autoconf/ 21automake to build Mesa. 22</p> 23 24 25</BODY> 26</HTML> 27