mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
intel: plug in stub intel_validate_framebuffer() function
This commit is contained in:
parent
f8b00806d8
commit
3c98d3cf32
1 changed files with 14 additions and 0 deletions
|
|
@ -630,6 +630,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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue