[Piglit] [PATCH 3/5] glx-buffer-age: Drop extra ReadBuffer setting.

Eric Anholt eric at anholt.net
Fri Mar 7 16:45:02 PST 2014


Since we're double-buffered, the initial readbuffer was back already.
---
 tests/glx/glx-buffer-age.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/glx/glx-buffer-age.c b/tests/glx/glx-buffer-age.c
index f2758d2..35a9e0c 100644
--- a/tests/glx/glx-buffer-age.c
+++ b/tests/glx/glx-buffer-age.c
@@ -81,7 +81,6 @@ draw(Display *dpy)
 		goto out;
 	}
 
-	glReadBuffer(GL_BACK);
 	pass = piglit_probe_pixel_rgba_silent(0, 0, colors[3 - age], probe);
 	result = pass ? PIGLIT_PASS : PIGLIT_FAIL;
 
-- 
1.9.0



More information about the Piglit mailing list