Fixed the Linux makefile of the Qt sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1145 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
1e8cb5827d
commit
0ad6295ff4
2 changed files with 3 additions and 12 deletions
|
@ -349,20 +349,11 @@ WindowImplX11::~WindowImplX11()
|
|||
// Close the display
|
||||
CloseDisplay();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Check if there's an active context on the current thread
|
||||
////////////////////
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Filter the received events
|
||||
/// (only allow those matching a specific window)
|
||||
////////////////////////////////////////////////////////////
|
||||
Bool CheckEvent(::Display*, XEvent* Event, XPointer UserData)
|
||||
{
|
||||
// Just check if the event matches our window
|
||||
return Event->xany.window == reinterpret_cast< ::Window >(UserData);
|
||||
}////////////////////////////////////////
|
||||
bool WindowImplX11::IsContextActive()
|
||||
{
|
||||
return glXGetCurrentContext() != NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue