From ffcc1cdb410fa14e61454241f69a7572b22e74b7 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 24 Feb 2006 17:51:04 +0000 Subject: [PATCH] Tweak the read format/type slightly so this can use the blitter. --- progs/tests/pbo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/progs/tests/pbo.c b/progs/tests/pbo.c index a74e8e148b3..9f487772cd3 100644 --- a/progs/tests/pbo.c +++ b/progs/tests/pbo.c @@ -32,8 +32,8 @@ static GLboolean Benchmark = GL_FALSE; static GLuint DrawPBO, TempPBO; -static GLenum ReadFormat = GL_RGBA; -static GLenum ReadType = GL_UNSIGNED_BYTE; +static GLenum ReadFormat = GL_BGRA; +static GLenum ReadType = GL_UNSIGNED_INT_8_8_8_8_REV;