aboutsummaryrefslogtreecommitdiff
path: root/README
blob: d1334b127ff5d3b0db567fef28330fe68c677d3c (plain)
1
2
3
4
5
6
7
8
Call glXSwapBuffers instead of glCopyPixels if OpenGL read and draw buffers
would perform a copy from back to front buffer.

use with
LD_PRELOAD=copy_pixels_swap_hack.so ${YOUR_PROGRAM}

Refer to the ld.so(8) manpage for the path at which the preloaded shared
objects is searched for.