aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorWolfgang Draxinger <code@datenwolf.net>2020-12-31 16:52:07 +0100
committerWolfgang Draxinger <code@datenwolf.net>2020-12-31 16:52:07 +0100
commita94861b09ae9e7e8edce1eb518cb5e5f20e328a3 (patch)
tree1840154012f1cc9212384ceebf14c15c66b95eb5 /README
downloadcopy_pixels_swap_hack-a94861b09ae9e7e8edce1eb518cb5e5f20e328a3.tar.gz
copy_pixels_swap_hack-a94861b09ae9e7e8edce1eb518cb5e5f20e328a3.tar.bz2
commit it
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..d1334b1
--- /dev/null
+++ b/README
@@ -0,0 +1,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.