Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4358 Serge 1
2
3
4
  
5
  Function Name Mangling
6
  
7
8
9
 
10
11
  

The Mesa 3D Graphics Library

12
13
 
14
15
16
 
17

Function Name Mangling

18
 
19

20
If you want to use both Mesa and another OpenGL library in the same
21
application at the same time you may find it useful to compile Mesa with
22
name mangling.
23
This results in all the Mesa functions being prefixed with
24
mgl instead of gl.
25

26
 
27

28
To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
29
Add the flag to CFLAGS in the configuration file which you want to use.
30
For example:
31

32
33
CFLAGS += -DUSE_MGL_NAMESPACE
34
35
 
36
37
38