Skip to content

Commit 313178a

Browse files
committed
Fix for warned
1 parent 94eaf53 commit 313178a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/mesa/main/glformats.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2902,17 +2902,6 @@ _mesa_gles_check_internalformat(struct gl_context *ctx,
29022902
return GL_NO_ERROR;
29032903

29042904
case GL_BGRA8_EXT:
2905-
/* This is technically speaking out-of-spec. But too many
2906-
* applications seems to depend on it, so let's allow it
2907-
* together with a small complaint */
2908-
static bool warned = false;
2909-
if (!warned) {
2910-
_mesa_warning(ctx,
2911-
"internalformat = GL_BGRA8_EXT invalid by spec, but too many "
2912-
"applications depend on it to error. Plese fix the software "
2913-
"that causes this problem.");
2914-
warned = true;
2915-
}
29162905
return GL_NO_ERROR;
29172906

29182907
default:

0 commit comments

Comments
 (0)