diff options
author | Roland Scheidegger <[email protected]> | 2007-07-17 17:29:55 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2007-07-19 17:47:14 +0200 |
commit | dbfb375805d94cb80262b8816c67a8adc778bec5 (patch) | |
tree | d3ca1413fde3fc7df597cbbfe5b7564cc2a95dfc /src/mesa/main/dd.h | |
parent | b9f2cf9a4e0a5ec89b27371210846942c93cb412 (diff) |
fix mesa fb binding
Make sure that we bind the right buffer (draw or read) when rebinding
the window framebuffer (the api doesn't allow binding different draw and
read buffers at the same time, but the default window framebuffer is basically
2 fb objects, one for read, one for write, which can be different). Pass both
of these two down the driver api (no driver uses this right now).
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 88f33943b31..caa50dd6826 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -782,7 +782,7 @@ struct dd_function_table { struct gl_framebuffer * (*NewFramebuffer)(GLcontext *ctx, GLuint name); struct gl_renderbuffer * (*NewRenderbuffer)(GLcontext *ctx, GLuint name); void (*BindFramebuffer)(GLcontext *ctx, GLenum target, - struct gl_framebuffer *fb); + struct gl_framebuffer *fb, struct gl_framebuffer *fbread); void (*FramebufferRenderbuffer)(GLcontext *ctx, struct gl_framebuffer *fb, GLenum attachment, |