mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 19:50:25 +01:00
mesa: stub for _mesa_RenderbufferStorageMultisample()
This commit is contained in:
parent
1f32c410dd
commit
777a2efc77
3 changed files with 26 additions and 1 deletions
|
|
@ -880,5 +880,12 @@ _mesa_init_exec_table(struct _glapi_table *exec)
|
|||
|
||||
/* GL_ATI_separate_stencil */
|
||||
SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
|
||||
|
||||
#if FEATURE_ARB_framebuffer_object
|
||||
/* The ARB_fbo functions are the union of
|
||||
* GL_EXT_fbo, GL_EXT_framebuffer_blit, GL_EXT_texture_array
|
||||
*/
|
||||
SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -571,7 +571,10 @@ _mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb)
|
|||
/* Provisionally set status = COMPLETE ... */
|
||||
fb->_Status = GL_FRAMEBUFFER_COMPLETE_EXT;
|
||||
|
||||
/* ... but the driver may say the FB is incomplete: */
|
||||
/* ... but the driver may say the FB is incomplete.
|
||||
* Drivers will most likely set the status to GL_FRAMEBUFFER_UNSUPPORTED
|
||||
* if anything.
|
||||
*/
|
||||
if (ctx->Driver.ValidateFramebuffer) {
|
||||
ctx->Driver.ValidateFramebuffer(ctx, fb);
|
||||
if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
|
||||
|
|
@ -878,6 +881,16 @@ _mesa_RenderbufferStorageEXT(GLenum target, GLenum internalFormat,
|
|||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples,
|
||||
GLenum internalformat,
|
||||
GLsizei width, GLsizei height)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -83,6 +83,11 @@ extern void GLAPIENTRY
|
|||
_mesa_RenderbufferStorageEXT(GLenum target, GLenum internalformat,
|
||||
GLsizei width, GLsizei height);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples,
|
||||
GLenum internalformat,
|
||||
GLsizei width, GLsizei height);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_GetRenderbufferParameterivEXT(GLenum target, GLenum pname,
|
||||
GLint *params);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue