From 2ef5a37950651d474a813e33ca20e7a5e7a7867e Mon Sep 17 00:00:00 2001 From: "peixin.dai" Date: Thu, 12 Oct 2023 18:06:57 +0800 Subject: [PATCH] modify the error situation that is inconsistent with the spec --- gl4/glBindImageTexture.xhtml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gl4/glBindImageTexture.xhtml b/gl4/glBindImageTexture.xhtml index 7dfa90df..7974cc86 100644 --- a/gl4/glBindImageTexture.xhtml +++ b/gl4/glBindImageTexture.xhtml @@ -533,8 +533,10 @@ is less than zero.

- GL_INVALID_ENUM is generated if access or format - is not one of the supported tokens. + GL_INVALID_ENUM is generated if access is not one of the supported tokens. +

+

+ GL_INVALID_VALUE is generated if format is not one of the supported tokens.