mirror of https://github.com/mgba-emu/mgba.git
Qt: Remove unused variable
This commit is contained in:
parent
64901c0afe
commit
2fa87cb8f0
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue