Bad Match error from X-Windows

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
gwalschl
In need of some credit
In need of some credit
Posts: 3
Joined: Thu Feb 22, 2007 4:10 pm

Bad Match error from X-Windows

Post by gwalschl »

I'm running wxWidgets 2.4.2 on Linux and getting a "BadMatch" error as follows

The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 69191 error_code 8 request_code 139 minor_code 5)

I have seen others with this issue and from what I understand it's related to a difference between the visual that wxWidgets obtains for writing to it's windows and the visual that OpenGL obtains.

The error in my application appears when I am about to plot with OpenGL.

Does anyone know if later versions of wxWindows address this issue? Does anyone know of a workaround? I think Brett Painter had come up with something, but he hadn't added it to the wxWidgets source base as I understand.

Any help GREATLY appreciated!
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Post by ONEEYEMAN »

Hi,
There is a bug report in regards to this issue for the latest wx version.
Please check that.

Thank you.
Post Reply