mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:07:07 +02:00
fix for unused variable warnings
This commit is contained in:
parent
ea310bcc43
commit
8e3bc97ef9
1 changed files with 0 additions and 2 deletions
|
@ -203,10 +203,8 @@ void RenderableWebEntityItem::render(RenderArgs* args) {
|
||||||
if (!success) {
|
if (!success) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
bool textured = false, culled = false, emissive = false;
|
|
||||||
if (_texture) {
|
if (_texture) {
|
||||||
batch._glActiveBindTexture(GL_TEXTURE0, GL_TEXTURE_2D, _texture);
|
batch._glActiveBindTexture(GL_TEXTURE0, GL_TEXTURE_2D, _texture);
|
||||||
textured = emissive = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DependencyManager::get<GeometryCache>()->bindSimpleSRGBTexturedUnlitNoTexAlphaProgram(batch);
|
DependencyManager::get<GeometryCache>()->bindSimpleSRGBTexturedUnlitNoTexAlphaProgram(batch);
|
||||||
|
|
Loading…
Reference in a new issue