Commit c07c86df authored by Laszlo Agocs's avatar Laszlo Agocs

gl: remove a todo

parent 771d4a25
......@@ -932,8 +932,6 @@ void QRhiGles2::executeBindGraphicsPipeline(QRhiGraphicsPipeline *ps, QRhiShader
{
QGles2GraphicsPipeline *psD = QRHI_RES(QGles2GraphicsPipeline, ps);
// ### this needs some proper caching later on to minimize state changes
if (psD->m_flags.testFlag(QRhiGraphicsPipeline::UsesScissor))
f->glEnable(GL_SCISSOR_TEST);
else
......
......@@ -185,7 +185,6 @@ struct QGles2GraphicsPipeline : public QRhiGraphicsPipeline
GLuint program = 0;
GLenum drawMode = GL_TRIANGLES;
uint generation = 0;
QShaderDescription vsDesc;
QShaderDescription fsDesc;
......@@ -204,6 +203,7 @@ struct QGles2GraphicsPipeline : public QRhiGraphicsPipeline
};
QVector<Sampler> samplers;
uint generation = 0;
friend class QRhiGles2;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment