xdbeBackBuffer glxMakeCurrent GLXBadDrawable
I'm trying to double buffer an animated image being written to an X Window on RHEL 5.0 using xdbe and glDrawPixels
I'm getting a GLXBadDrawable error when I try to make the xdbe back buffer current using glxMakeCurrent. The error occurs in the glxMakeCurrentCall.
Using the back buffer for calls to XDrawString (for example) works fine and using the primary Window/Front buffer in glxMakeCurrent also works fine.
The actual back buffer drawable value is contiguous with the Window value and works with normal X calls so is clearly correct.
Can't find any reference to this on the web. Any ideas?