cairo-gl-sdl2
cairo-gl-sdl2 copied to clipboard
GLXBadDrawable using gl_texture
Finally worked out how to make a PPA so I can test cairo-gl on Ubuntu :)
When using gl_texture I get:
X Error of failed request: GLXBadDrawable Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 217 Current serial number in output stream: 217
Confirming this on my nVidia box (GeForce GTX 260 core 216, proprietary drivers version 340.101). It works fine on my AMD box (Radeon HD 7790, open-source AMDGPU driver) and laptop (Intel HD Graphics 530, open source drivers).
The error is triggered on the first cairo operation that modifies the surface; the steps leading up to that (device creation etc.) are OK.
Unfortunately I know very little about OpenGL, so I don't have any useful input on any possible causes.