summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-20 15:30:22 -0700
committerBrian Paul <brianp@vmware.com>2009-01-22 15:31:20 -0700
commit3c98d3cf32e1828b116173f97dc6d4d4a609951c (patch)
tree8ff55c0b1c79f52e50616c6cf7274461785420f1
parentf8b00806d8263f2ff09f175e0801379c0b9e9b2c (diff)
intel: plug in stub intel_validate_framebuffer() function
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 1cc40f9be2..81cd8dd41d 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -631,6 +631,19 @@ intel_finish_render_texture(GLcontext * ctx,
/**
+ * Do additional "completeness" testing of a framebuffer object.
+ */
+static void
+intel_validate_framebuffer(GLcontext *ctx, struct gl_framebuffer *fb)
+{
+ /* no-op for now.
+ * Eventually: examine the renderbuffers/textures and make sure it's
+ * supported by the hw.
+ */
+}
+
+
+/**
* Do one-time context initializations related to GL_EXT_framebuffer_object.
* Hook in device driver functions.
*/
@@ -644,4 +657,5 @@ intel_fbo_init(struct intel_context *intel)
intel->ctx.Driver.RenderTexture = intel_render_texture;
intel->ctx.Driver.FinishRenderTexture = intel_finish_render_texture;
intel->ctx.Driver.ResizeBuffers = intel_resize_buffers;
+ intel->ctx.Driver.ValidateFramebuffer = intel_validate_framebuffer;
}