GLX window is *not* an X11 window

This commit is contained in:
numzero 2021-01-14 02:28:12 +03:00 committed by sfan5
parent 264f8b72c1
commit c4503eaf17
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ struct SExposedVideoData
void* X11Display;
void* X11Context;
unsigned long X11Window;
unsigned long GLXWindow;
};
struct SOpenGLOSX

View File

@ -294,7 +294,7 @@ bool CGLXManager::generateSurface()
return false;
}
CurrentContext.OpenGLLinux.X11Window=GlxWin;
CurrentContext.OpenGLLinux.GLXWindow=GlxWin;
}
return true;
}