diff --git a/plugins/channelrx/demoddsd/dsddemodgui.cpp b/plugins/channelrx/demoddsd/dsddemodgui.cpp index 387c406cf..04ab9b00a 100644 --- a/plugins/channelrx/demoddsd/dsddemodgui.cpp +++ b/plugins/channelrx/demoddsd/dsddemodgui.cpp @@ -297,7 +297,6 @@ DSDDemodGUI::DSDDemodGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, Baseban ui->setupUi(this); ui->screenTV->setColor(true); ui->screenTV->resizeTVScreen(200,200); - ui->screenTV->setRenderImmediate(true); setAttribute(Qt::WA_DeleteOnClose, true); connect(this, SIGNAL(widgetRolled(QWidget*,bool)), this, SLOT(onWidgetRolled(QWidget*,bool))); diff --git a/sdrgui/dsp/scopevisxy.cpp b/sdrgui/dsp/scopevisxy.cpp index 78fd7c539..f8599c070 100644 --- a/sdrgui/dsp/scopevisxy.cpp +++ b/sdrgui/dsp/scopevisxy.cpp @@ -83,6 +83,7 @@ void ScopeVisXY::feed(const SampleVector::const_iterator& cbegin, const SampleVe drawGraticule(); m_tvScreen->renderImage(0); + m_tvScreen->update(); usleep(5000); m_tvScreen->resetImage(m_alphaReset); m_pixelCount = 0; diff --git a/sdrgui/gui/tvscreen.cpp b/sdrgui/gui/tvscreen.cpp index 8d18dc665..005126971 100644 --- a/sdrgui/gui/tvscreen.cpp +++ b/sdrgui/gui/tvscreen.cpp @@ -38,7 +38,6 @@ TVScreen::TVScreen(bool blnColor, QWidget* parent) : m_blnConfigChanged = false; m_blnDataChanged = false; m_blnGLContextInitialized = false; - m_blnRenderImmediate = false; //Par défaut m_intAskedCols = TV_COLS; @@ -71,10 +70,6 @@ void TVScreen::renderImage(unsigned char * objData) { m_chrLastData = objData; m_blnDataChanged = true; - - if (m_blnRenderImmediate) { - update(); - } } void TVScreen::resetImage() diff --git a/sdrgui/gui/tvscreen.h b/sdrgui/gui/tvscreen.h index 54a383e03..45587ec8e 100644 --- a/sdrgui/gui/tvscreen.h +++ b/sdrgui/gui/tvscreen.h @@ -55,7 +55,6 @@ public: bool selectRow(int intLine); bool setDataColor(int intCol, int intRed, int intGreen, int intBlue); bool setDataColor(int intCol, int intRed, int intGreen, int intBlue, int intAlpha); - void setRenderImmediate(bool blnRenderImmediate) { m_blnRenderImmediate = blnRenderImmediate; } void setAlphaBlend(bool blnAlphaBlend) { m_objGLShaderArray.setAlphaBlend(blnAlphaBlend); } void setAlphaReset() { m_objGLShaderArray.setAlphaReset(); } @@ -80,7 +79,6 @@ private: QMutex m_objMutex; bool m_blnDataChanged; bool m_blnConfigChanged; - bool m_blnRenderImmediate; GLShaderTVArray m_objGLShaderArray;