arb_clear_buffer_object: fix various deprecated formats

Graphics / Mesa 3D Graphics Library / Piglit - Chris Forbes [ijw.co.nz] - 24 March 2014 04:01 UTC

- Some float formats were using GL_LUMINANCE_INTEGER as the pixel format.- Most GL_INTENSITY* internalformats were trying to use GL_INTENSITY as the pixel format, which has never been valid in any spec version.

Fixes this test against a compatibility context -- core never hits these cases since the formats have been removed.

V2: Fix commit message; in V1 it bogusly mentioned GL_RED_INTEGER, but the test was actually using GL_LUMINANCE_INTEGER for float luminance formats. Oops.

6712f77 arb_clear_buffer_object: fix various deprecated formats
tests/spec/arb_clear_buffer_object/formats.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share