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.

mangling.html 643B

123456789101112131415161718192021222324252627282930
  1. <HTML>
  2. <TITLE>Function Name Mangling</TITLE>
  3. <link rel="stylesheet" type="text/css" href="mesa.css"></head>
  4. <BODY>
  5. <H1>Function Name Mangling</H1>
  6. <p>
  7. If you want to use both Mesa and another OpenGL library in the same
  8. application at the same time you may find it useful to compile Mesa with
  9. <i>name mangling</i>.
  10. This results in all the Mesa functions being prefixed with
  11. <b>mgl</b> instead of <b>gl</b>.
  12. </p>
  13. <p>
  14. To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
  15. Add the flag to CFLAGS in the configuration file which you want to use.
  16. For example:
  17. <pre>
  18. CFLAGS += -DUSE_MGL_NAMESPACE
  19. </pre>
  20. </p>
  21. </BODY>
  22. </HTML>