summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texrender.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-20 18:51:57 +0000
committerBrian Paul <[email protected]>2006-03-20 18:51:57 +0000
commit519b23b21f9cd6945fd17cdb26e7a6f531cdeec0 (patch)
treecad1402052d00a0e4140454baa07746336019a75 /src/mesa/main/texrender.h
parent4991888fa0ea8e31e3cd2a0d87bb7e205ad1dccd (diff)
Lots of changes/fixes for rendering to framebuffer objects.
- When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
Diffstat (limited to 'src/mesa/main/texrender.h')
-rw-r--r--src/mesa/main/texrender.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/texrender.h b/src/mesa/main/texrender.h
index 6d8bc964141..1e11e505130 100644
--- a/src/mesa/main/texrender.h
+++ b/src/mesa/main/texrender.h
@@ -4,9 +4,8 @@
extern void
_mesa_renderbuffer_texture(GLcontext *ctx,
- struct gl_renderbuffer_attachment *att,
- struct gl_texture_object *texObj,
- GLenum texTarget, GLuint level, GLuint zoffset);
+ struct gl_framebuffer *fb,
+ struct gl_renderbuffer_attachment *att);
#endif /* TEXRENDER_H */