qt: Remove fullscreen status icons
This commit is contained in:
@@ -136,22 +136,6 @@ HardwareRenderer::initializeGL()
|
||||
m_context->swapBuffers(this);
|
||||
}
|
||||
|
||||
void
|
||||
HardwareRenderer::paintOverGL()
|
||||
{
|
||||
/* Context switching is needed to make use of QPainter to draw status bar icons in fullscreen.
|
||||
Especially since it seems to be impossible to use QPainter on externally-created OpenGL contexts. */
|
||||
if (video_fullscreen && status_icons_fullscreen) {
|
||||
m_context->makeCurrent(nullptr);
|
||||
makeCurrent();
|
||||
QPainter painter(this);
|
||||
drawStatusBarIcons(&painter);
|
||||
painter.end();
|
||||
doneCurrent();
|
||||
m_context->makeCurrent(this);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
HardwareRenderer::paintGL()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user