mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -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)
|
QRgb * GLShaderArray::GetRowBuffer(int intRow)
|
||||||
{
|
{
|
||||||
if (m_blnInitialized == false)
|
if (!m_blnInitialized)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -168,7 +168,7 @@ void GLShaderArray::RenderPixels(unsigned char *chrData)
|
|||||||
QRgb *ptrLine;
|
QRgb *ptrLine;
|
||||||
int intVal;
|
int intVal;
|
||||||
|
|
||||||
if (m_blnInitialized == false)
|
if (!m_blnInitialized)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -223,7 +223,6 @@ void GLShaderArray::RenderPixels(unsigned char *chrData)
|
|||||||
|
|
||||||
m_objTexture->release();
|
m_objTexture->release();
|
||||||
m_objProgram->release();
|
m_objProgram->release();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLShaderArray::ResetPixels()
|
void GLShaderArray::ResetPixels()
|
||||||
@ -295,7 +294,6 @@ bool GLShaderArray::SetDataColor(int intCol, QRgb objColor)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return blnRslt;
|
return blnRslt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user