retain backbuffer after flip
BlitzMax Forums/OpenGL Module/retain backbuffer after flip
| ||
I'm trying to achieve that the backbuffer is retained after Flip(). After searching various subjects, I came up with this: It does show the backbuffer content, except that it gets distorted by 1 pixel vertical, and 1 pixel horizontal. It doesn't make any sense to me. I was wondering if this happens only on my system? ![]() |
| ||
Maybe a float accuracy issue? Try adding or subtracting 1 from the quad corner coordinates. |
| ||
Yes, a rounding issue would seem a logical explaination. When I try substracting 1, the smur goes towards the center. Well, I'll experiment some more, thanks. |
| ||
I tested it on another computer today, but then the code works normally. This makes it more difficult to work around this. Has anybody tried this so far? |
| ||
Works fine here on an Intel Card. |
| ||
Hmm .. my onboard videocard must be buggy then. Thanks for trying! |
| ||
Try playing with/forcing different opengl texture wrap/clamp parameters. http://msdn.microsoft.com/en-us/library/dd368639%28VS.85%29.aspx |
| ||
I did play around with those, but not much yet. I'll look at them more carefully. |