diff options
author | Marta Lofstedt <[email protected]> | 2015-08-10 13:48:11 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-08-10 13:49:41 +0300 |
commit | 08f2dfe3430789085c165ce7c546d5afd2e295c2 (patch) | |
tree | 78be7336b5459a583650945929931302316239a6 /src/mesa/main | |
parent | b6d014f0ba010f0e61be43abdceb5f2201028a04 (diff) |
mesa/es3.1: Allow Multisampled FrameBufferTextures
GLES 3.1 must be allowed to use multisampled framebuffer textures.
Signed-off-by: Marta Lofstedt <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/fbobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index cc342c23c03..841834030df 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -2944,8 +2944,9 @@ check_textarget(struct gl_context *ctx, int dims, GLenum target, break; case GL_TEXTURE_2D_MULTISAMPLE: case GL_TEXTURE_2D_MULTISAMPLE_ARRAY: - err = _mesa_is_gles(ctx) - || !ctx->Extensions.ARB_texture_multisample; + err = (_mesa_is_gles(ctx) || + !ctx->Extensions.ARB_texture_multisample) && + !_mesa_is_gles31(ctx); break; default: err = true; |