Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
GLX window is *not* an X11 window
Browse files Browse the repository at this point in the history
  • Loading branch information
numberZero authored and sfan5 committed Feb 25, 2021
1 parent 264f8b7 commit c4503ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/SExposedVideoData.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ struct SExposedVideoData
void* X11Display;
void* X11Context;
unsigned long X11Window;
unsigned long GLXWindow;
};

struct SOpenGLOSX
Expand Down
2 changes: 1 addition & 1 deletion source/Irrlicht/CGLXManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ bool CGLXManager::generateSurface()
return false;
}

CurrentContext.OpenGLLinux.X11Window=GlxWin;
CurrentContext.OpenGLLinux.GLXWindow=GlxWin;
}
return true;
}
Expand Down

0 comments on commit c4503ea

Please sign in to comment.