Qt: Remove unused variable

This commit is contained in:
Jeffrey Pfau 2015-11-20 00:12:13 -08:00
parent 64901c0afe
commit 2fa87cb8f0
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ void ShaderSelector::refreshShaders() {
page->setLayout(layout); page->setLayout(layout);
for (size_t u = 0 ; u < shaders[p].nUniforms; ++u) { for (size_t u = 0 ; u < shaders[p].nUniforms; ++u) {
QGridLayout* settings = new QGridLayout; QGridLayout* settings = new QGridLayout;
std::function<void (size_t, size_t)> bind;
GBAGLES2Uniform* uniform = &shaders[p].uniforms[u]; GBAGLES2Uniform* uniform = &shaders[p].uniforms[u];
switch (uniform->type) { switch (uniform->type) {
case GL_FLOAT: case GL_FLOAT: