fix for unused variable warnings

This commit is contained in:
Anthony Thibault 2016-07-29 08:10:10 -07:00
parent ea310bcc43
commit 8e3bc97ef9

View file

@ -203,10 +203,8 @@ void RenderableWebEntityItem::render(RenderArgs* args) {
if (!success) {
return;
}
bool textured = false, culled = false, emissive = false;
if (_texture) {
batch._glActiveBindTexture(GL_TEXTURE0, GL_TEXTURE_2D, _texture);
textured = emissive = true;
}
DependencyManager::get<GeometryCache>()->bindSimpleSRGBTexturedUnlitNoTexAlphaProgram(batch);