Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4358 | Serge | 1 | |
2 | |||
3 | |||
4 | |||
5 |
|
||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 |
|
||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 |
|
||
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 | !DOCTYPE> |