mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-01 16:38:06 -04:00
Unify TV screen (1)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user