mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
mesa: fix comment typos in fbobject.c
This commit is contained in:
parent
4b27406820
commit
dbe88515c5
1 changed files with 2 additions and 2 deletions
|
|
@ -2026,7 +2026,7 @@ framebuffer_texture(struct gl_context *ctx, const char *caller, GLenum target,
|
|||
BUFFER_STENCIL);
|
||||
} else if (attachment == GL_STENCIL_ATTACHMENT &&
|
||||
texObj == fb->Attachment[BUFFER_DEPTH].Texture) {
|
||||
/* As above, but with depth and stencil juxtasposed. */
|
||||
/* As above, but with depth and stencil juxtaposed. */
|
||||
reuse_framebuffer_texture_attachment(fb, BUFFER_STENCIL,
|
||||
BUFFER_DEPTH);
|
||||
} else {
|
||||
|
|
@ -2269,7 +2269,7 @@ _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
|
|||
|
||||
ASSERT_OUTSIDE_BEGIN_END(ctx);
|
||||
|
||||
/* The error differs in GL andd GLES. */
|
||||
/* The error differs in GL and GLES. */
|
||||
err = ctx->API == API_OPENGL ? GL_INVALID_OPERATION : GL_INVALID_ENUM;
|
||||
|
||||
buffer = get_framebuffer_target(ctx, target);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue