From 2702c90d7a39fca2a3319c5e915fd290cb31fc70 Mon Sep 17 00:00:00 2001 From: Radosław Kujawa Date: Fri, 17 Jul 2026 14:54:32 +0200 Subject: Initial import. --- docs/mangling.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/mangling.html (limited to 'docs/mangling.html') diff --git a/docs/mangling.html b/docs/mangling.html new file mode 100644 index 0000000..5aafcb2 --- /dev/null +++ b/docs/mangling.html @@ -0,0 +1,26 @@ + + +Function Name Mangling + + + +

Function Name Mangling

+ +

+If you want to use Mesa and native OpenGL in the same application at +the same time you may find it useful to compile Mesa with +name mangling. +This results in all the Mesa functions being prefixed with +mgl instead of gl. +

+ +

+To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE. +Add the flag to the other compiler flags in Make-config (if using the +old-style build system) or in src/Makefile if using GNU autoconf/ +automake to build Mesa. +

+ + + + -- cgit