egl cursor: The sampler is a uniform not an attribute
Change-Id: Ibae21653040f1d8dff2d2c0b7c1b2812d9e14551 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
This commit is contained in:
parent
43d4fecde5
commit
af16f88e97
@ -171,7 +171,7 @@ void QEGLPlatformCursor::createShaderPrograms()
|
|||||||
|
|
||||||
m_vertexCoordEntry = m_program->attributeLocation("vertexCoordEntry");
|
m_vertexCoordEntry = m_program->attributeLocation("vertexCoordEntry");
|
||||||
m_textureCoordEntry = m_program->attributeLocation("textureCoordEntry");
|
m_textureCoordEntry = m_program->attributeLocation("textureCoordEntry");
|
||||||
m_textureEntry = m_program->attributeLocation("texture");
|
m_textureEntry = m_program->uniformLocation("texture");
|
||||||
}
|
}
|
||||||
|
|
||||||
void QEGLPlatformCursor::createCursorTexture(uint *texture, const QImage &image)
|
void QEGLPlatformCursor::createCursorTexture(uint *texture, const QImage &image)
|
||||||
|
Loading…
Reference in New Issue
Block a user