updated osmesa info
This commit is contained in:
@@ -43,16 +43,14 @@ memory.
|
|||||||
<p>
|
<p>
|
||||||
To build Mesa/OSMesa with 16-bit color channels:
|
To build Mesa/OSMesa with 16-bit color channels:
|
||||||
<pre>
|
<pre>
|
||||||
cd Mesa-5.x/src
|
make realclean
|
||||||
make -f Makefile.X11 clean
|
make linux-osmesa16
|
||||||
make -f Makefile.OSMesa16 linux-osmesa16
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
For 32-bit channels:
|
For 32-bit channels:
|
||||||
<pre>
|
<pre>
|
||||||
cd Mesa-5.x/src
|
make realclean
|
||||||
make -f Makefile.X11 clean
|
make linux-osmesa32
|
||||||
make -f Makefile.OSMesa16 linux-osmesa32
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -60,13 +58,12 @@ You'll wind up with a library named libOSMesa16.so or libOSMesa32.so.
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If you're not using Linux, you can easily edit Make-config and add
|
If you need to compile on a non-Linux platform, copy Mesa/configs/linux-osmesa16
|
||||||
an appropriate configuration.
|
to a new config file and edit it as needed. Then, add the new config name to
|
||||||
</p>
|
the top-level Makefile. Send a patch to the Mesa developers too, if you're
|
||||||
<p>
|
inclined.
|
||||||
The Mesa/tests/osdemo16.c file (available via CVS) demonstrates how
|
|
||||||
to use this feature.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
BE WARNED: 16 and 32-bit channel support has not been exhaustively
|
BE WARNED: 16 and 32-bit channel support has not been exhaustively
|
||||||
tested and there may be some bugs. However, a number of people have
|
tested and there may be some bugs. However, a number of people have
|
||||||
|
Reference in New Issue
Block a user