This patch[1] fixes the bug for me: diff --git a/libglfork.cpp b/libglfork.cpp index 03f514f..dda6e4c 100644 --- a/libglfork.cpp +++ b/libglfork.cpp @@ -359,7 +359,7 @@ static bool test_drawpixels_fast(Display *dpy, GLXContext ctx, GLXFBConfig dconf int iters = 0; do { primus.dfns.glBufferSubData(GL_PIXEL_UNPACK_BUFFER_EXT, 0, width*height*4, pixeldata); - primus.dfns.glDrawPixels(width, height, GL_BGRA, GL_UNSIGNED_BYTE, NULL); + primus.dfns.glDrawPixels(width, height, GL_BGRA, GL_UNSIGNED_BYTE, pixeldata); primus.dfns.glXSwapBuffers(dpy, pbuffer); iters++; } while (end > Profiler::get_timestamp());
[1] https://github.com/ribalda/primus/commit/1b6dbc56040a59b6b222ba40d7c2de8c6cf1fbba -- Ricardo Ribalda