From bb3157c9c1a2c642427ad4d75108146601925e87 Mon Sep 17 00:00:00 2001 From: jsyishan Date: Wed, 30 Aug 2023 15:05:41 +0800 Subject: [PATCH] Fix GL_INVALID_ENUM error reason in es3/glFramebufferTexture2D --- es3/glFramebufferTexture2D.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es3/glFramebufferTexture2D.xhtml b/es3/glFramebufferTexture2D.xhtml index 0fc7f854..dc493b72 100644 --- a/es3/glFramebufferTexture2D.xhtml +++ b/es3/glFramebufferTexture2D.xhtml @@ -156,7 +156,7 @@ GL_INVALID_ENUM is generated if target is not one of the accepted tokens.

- GL_INVALID_ENUM is generated if renderbuffertarget is not GL_RENDERBUFFER. + GL_INVALID_ENUM is generated if attachment is not one of the attachment points listed above.

GL_INVALID_OPERATION is generated if zero is bound to target.