Commit 7a39a009 authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

docs: recommend using --enable-mangling over the manual -DUSE...

Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 0fa854ae
......@@ -66,7 +66,7 @@
<li><a href="debugging.html" target="_parent">Debugging Tips</a>
<li><a href="perf.html" target="_parent">Performance Tips</a>
<li><a href="extensions.html" target="_parent">Mesa Extensions</a>
<li><a href="mangling.html" target="_parent">Function Name Mangling</a>
<li><a href="mangling.html" target="_parent">GL Function Name Mangling</a>
<li><a href="llvmpipe.html" target="_parent">Gallium llvmpipe driver</a>
<li><a href="vmware-guest.html" target="_parent">VMware SVGA3D guest driver</a>
<li><a href="postprocess.html" target="_parent">Gallium post-processing</a>
......
......@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Function Name Mangling</title>
<title>GL Function Name Mangling</title>
<link rel="stylesheet" type="text/css" href="mesa.css">
</head>
<body>
......@@ -14,7 +14,7 @@
<iframe src="contents.html"></iframe>
<div class="content">
<h1>Function Name Mangling</h1>
<h1>GL Function Name Mangling</h1>
<p>
If you want to use both Mesa and another OpenGL library in the same
......@@ -25,12 +25,11 @@ This results in all the Mesa functions being prefixed with
</p>
<p>
To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
Add the flag to CFLAGS in the configuration file which you want to use.
For example:
This option is supported only with the autoconf build. To use it add
--enable-mangling to your configure line.
</p>
<pre>
CFLAGS += -DUSE_MGL_NAMESPACE
<code>./configure --enable-mangling ...</code>
</pre>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment