Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!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">
  5. <title>Function Name Mangling</title>
  6. <link rel="stylesheet" type="text/css" href="mesa.css">
  7. </head>
  8. <body>
  9. <div class="header">
  10. <h1>The Mesa 3D Graphics Library</h1>
  11. </div>
  12. <iframe src="contents.html"></iframe>
  13. <div class="content">
  14. <h1>Function Name Mangling</h1>
  15. <p>
  16. If you want to use both Mesa and another OpenGL library in the same
  17. application at the same time you may find it useful to compile Mesa with
  18. <i>name mangling</i>.
  19. This results in all the Mesa functions being prefixed with
  20. <b>mgl</b> instead of <b>gl</b>.
  21. </p>
  22. <p>
  23. To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
  24. Add the flag to CFLAGS in the configuration file which you want to use.
  25. For example:
  26. </p>
  27. <pre>
  28. CFLAGS += -DUSE_MGL_NAMESPACE
  29. </pre>
  30. </div>
  31. </body>
  32. </html>