i965:use FRAMEBUFFER_UNSUPPORTED instead of FRAMEBUFFER_INCOMPLETE_DIMENSIONS
authorGert Wollny <gert.wollny@collabora.com>
Mon, 19 Nov 2018 09:36:26 +0000 (10:36 +0100)
committerGert Wollny <gw.fossdev@gmail.com>
Mon, 19 Nov 2018 10:06:52 +0000 (11:06 +0100)
commit18a8e11aeae51266e76ad7568261ba5c1a4d410b
tree8da9e101a9f314f8268f2d1c11b913f7b5851465
parent40eca7d3e1dc647e96e170a17a697f1e12782ae5
i965:use FRAMEBUFFER_UNSUPPORTED instead of FRAMEBUFFER_INCOMPLETE_DIMENSIONS

FRAMEBUFFER_INCOMPLETE_DIMENSIONS is not supported for GLES 3.0 and later and
not defined for Desktop OpenGL. Instead use FRAMEBUFFER_UNSUPPORTED like it
was done before.

Thanks to Iago Toral and Andrey Simiklit for pointing out the problem and the
details.

Fixes: ebcde3454552adc6d3fea8af2207aafaba857796
   i965: be more specific about FBO completeness errors
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/intel_fbo.c