blob: 3f550ba5ec6e97aefd5b2933c56ec3a2cdb7f314 [file] [log] [blame]
Brian Paul0b27ace2003-03-08 17:38:57 +00001<HTML>
2
3<TITLE>Function Name Mangling</TITLE>
4
Brian Paul36da0452005-01-20 03:55:10 +00005<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
Brian Paul0b27ace2003-03-08 17:38:57 +00008
9<H1>Function Name Mangling</H1>
10
11<p>
Brian Paulbb4b3782006-09-29 01:22:53 +000012If you want to use both Mesa and another OpenGL library in the same
13application at the same time you may find it useful to compile Mesa with
Brian Paul0b27ace2003-03-08 17:38:57 +000014<i>name mangling</i>.
15This results in all the Mesa functions being prefixed with
16<b>mgl</b> instead of <b>gl</b>.
17</p>
18
19<p>
20To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
Brian Paulbb4b3782006-09-29 01:22:53 +000021Add the flag to CFLAGS in the configuration file which you want to use.
Brian Paul0b27ace2003-03-08 17:38:57 +000022</p>
23
24
25</BODY>
26</HTML>