From 7357f20b1ee3ab0c58c7a20f44bf83fdfe0e256e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 2 May 2003 15:05:02 +0000 Subject: minor updates --- docs/osmesa.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'docs/osmesa.html') diff --git a/docs/osmesa.html b/docs/osmesa.html index ace4200113..5dc2e81f6c 100644 --- a/docs/osmesa.html +++ b/docs/osmesa.html @@ -37,24 +37,28 @@ memory. accuracy (film and IBR, for example). If you're in this situation you'll be happy to know that Mesa supports 16-bit and 32-bit color channels through the OSMesa interface. When using 16-bit channels, - channels are GLushorts and pixels occupy 8 bytes. When using 32-bit - channels, channels are GLfloats and pixels occupy 16 bytes. + channels are GLushorts and RGBA pixels occupy 8 bytes. When using 32-bit + channels, channels are GLfloats and RGBA pixels occupy 16 bytes.

To build Mesa/OSMesa with 16-bit color channels:

-      cd Mesa-4.x/src
+      cd Mesa-5.x/src
       make -f Makefile.X11 clean
       make -f Makefile.OSMesa16 linux-osmesa16
 
For 32-bit channels:
-      cd Mesa-4.x/src
+      cd Mesa-5.x/src
       make -f Makefile.X11 clean
       make -f Makefile.OSMesa16 linux-osmesa32
 
+

+You'll wind up with a library named libOSMesa16.so or libOSMesa32.so. +

+

If you're not using Linux, you can easily edit Make-config and add an appropriate configuration. -- cgit v1.2.3