blob: 9d92b7d2ff5141f60e42c83c58f89297941d8c18 [file] [log] [blame]
Andreas Bollecd5c7c2012-06-12 09:05:03 +02001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html lang="en">
3<head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
Emil Velikov7a39a002016-06-29 13:26:07 +01005 <title>GL Function Name Mangling</title>
Andreas Bollecd5c7c2012-06-12 09:05:03 +02006 <link rel="stylesheet" type="text/css" href="mesa.css">
7</head>
8<body>
Brian Paul0b27ace2003-03-08 17:38:57 +00009
Andreas Bollb5da52a2012-09-18 18:57:02 +020010<div class="header">
11 <h1>The Mesa 3D Graphics Library</h1>
12</div>
13
14<iframe src="contents.html"></iframe>
15<div class="content">
16
Emil Velikov7a39a002016-06-29 13:26:07 +010017<h1>GL Function Name Mangling</h1>
Brian Paul0b27ace2003-03-08 17:38:57 +000018
19<p>
Brian Paulbb4b3782006-09-29 01:22:53 +000020If you want to use both Mesa and another OpenGL library in the same
21application at the same time you may find it useful to compile Mesa with
Brian Paul0b27ace2003-03-08 17:38:57 +000022<i>name mangling</i>.
23This results in all the Mesa functions being prefixed with
24<b>mgl</b> instead of <b>gl</b>.
25</p>
26
27<p>
Emil Velikov7a39a002016-06-29 13:26:07 +010028This option is supported only with the autoconf build. To use it add
29--enable-mangling to your configure line.
Andreas Bolldf2be222012-06-12 09:05:22 +020030</p>
Brian Paulc478f0d2006-11-18 16:44:30 +000031<pre>
Emil Velikov7a39a002016-06-29 13:26:07 +010032<code>./configure --enable-mangling ...</code>
Brian Paulc478f0d2006-11-18 16:44:30 +000033</pre>
Brian Paul0b27ace2003-03-08 17:38:57 +000034
Andreas Bollb5da52a2012-09-18 18:57:02 +020035</div>
Andreas Bollecd5c7c2012-06-12 09:05:03 +020036</body>
37</html>