mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-03-24 13:18:29 -04:00
Unify TV screen (1)
This commit is contained in:
parent
e8fee43100
commit
8e6438908b
@ -126,7 +126,7 @@ void GLShaderArray::InitializeGL(int intCols, int intRows)
|
||||
|
||||
QRgb * GLShaderArray::GetRowBuffer(int intRow)
|
||||
{
|
||||
if (m_blnInitialized == false)
|
||||
if (!m_blnInitialized)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@ -168,7 +168,7 @@ void GLShaderArray::RenderPixels(unsigned char *chrData)
|
||||
QRgb *ptrLine;
|
||||
int intVal;
|
||||
|
||||
if (m_blnInitialized == false)
|
||||
if (!m_blnInitialized)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -223,7 +223,6 @@ void GLShaderArray::RenderPixels(unsigned char *chrData)
|
||||
|
||||
m_objTexture->release();
|
||||
m_objProgram->release();
|
||||
|
||||
}
|
||||
|
||||
void GLShaderArray::ResetPixels()
|
||||
@ -295,7 +294,6 @@ bool GLShaderArray::SetDataColor(int intCol, QRgb objColor)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return blnRslt;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user