Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » [SOLVED] OpenGL reference example X11 crash
Re: [BUG] OpenGL reference example X11 crash [message #14388 is a reply to message #14383] Sun, 24 February 2008 21:30 Go to previous messageGo to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
I found that the error occurs in a call to
glXMakeCurrent( (Display*)Xdisplay, GetWindow(), WindowContext );

in X11GLCtrl.cpp line 128.

This call is not successful returning a 'BadMatch', I got an explanation from http://caesar.informatik.uni-freiburg.de/people/reisert/open gl/doc/glXMakeCurrent.html:
Quote:

BadMatch is generated if drawable was not created with the same X screen and visual as ctx. It is also generated if drawable is None and ctx is not None.
.

Anybody who knows, what's going wrong here?

Matthias
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: window resized has no CALLBACK?
Next Topic: OpenGL and continous animation
Goto Forum:
  


Current Time: Fri Apr 19 07:18:56 CEST 2024

Total time taken to generate the page: 0.02428 seconds