http://bugs.freedesktop.org/show_bug.cgi?id=13767


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #5 from [EMAIL PROTECTED]  2008-01-01 21:28 PST -------
sorry, I forgot this part. the previous one is just making glFramebufferEXT
work with max supported color attachment. following is needed to make this work
with glDrawBuffer and glReadBuffer

--- a/src/mesa/main/buffers.c      2008-01-02 13:25:29.000000000 +0800
+++ b/src/mesa/main/buffers.c      2008-01-02 13:25:01.000000000 +0800
@@ -275,6 +275,14 @@
          return BUFFER_BIT_COLOR2;
       case GL_COLOR_ATTACHMENT3_EXT:
          return BUFFER_BIT_COLOR3;
+      case GL_COLOR_ATTACHMENT4_EXT:
+         return BUFFER_BIT_COLOR4;
+      case GL_COLOR_ATTACHMENT5_EXT:
+         return BUFFER_BIT_COLOR5;
+      case GL_COLOR_ATTACHMENT6_EXT:
+         return BUFFER_BIT_COLOR6;
+      case GL_COLOR_ATTACHMENT7_EXT:
+         return BUFFER_BIT_COLOR7;
   default:
          /* error */
          return BAD_MASK;


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to