From: Ian Romanick <ian.d.roman...@intel.com> Signed-off-by: Ian Romanick <ian.d.roman...@intel.com> --- src/mesa/main/varray.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 36d0eb8..a867c89 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -142,6 +142,11 @@ update_array(struct gl_context *ctx, | UNSIGNED_INT_2_10_10_10_REV_BIT | INT_2_10_10_10_REV_BIT | HALF_BIT | DOUBLE_BIT); + + /* BGRA ordering is not supported in ES contexts. + */ + if (sizeMax == BGRA_OR_4) + sizeMax = 4; } else { assert(ctx->API == API_OPENGL); -- 1.7.6.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev