mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-04 10:38:45 -04:00
TV screen: fixed OpenGL warning
This commit is contained in:
parent
dbc9e78077
commit
6551c1cf5e
@ -113,7 +113,7 @@ void GLShaderTVArray::InitializeGL(int intCols, int intRows)
|
||||
m_objImage->fill(QColor(0, 0, 0));
|
||||
|
||||
m_objTexture = new QOpenGLTexture(*m_objImage);
|
||||
m_objTexture->setFormat(QOpenGLTexture::RGBA8_UNorm);
|
||||
//m_objTexture->setFormat(QOpenGLTexture::RGBA8_UNorm); avoids OpenGL warning and in fact is useless
|
||||
m_objTexture->setMinificationFilter(QOpenGLTexture::Linear);
|
||||
m_objTexture->setMagnificationFilter(QOpenGLTexture::Linear);
|
||||
m_objTexture->setWrapMode(QOpenGLTexture::ClampToEdge);
|
||||
|
Loading…
Reference in New Issue
Block a user