mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
remove some dead code
This commit is contained in:
parent
7d8f2e906b
commit
2ad2c4d554
2 changed files with 0 additions and 3 deletions
|
@ -197,7 +197,6 @@ void ApplicationCompositor::displayOverlayTexture(RenderArgs* renderArgs) {
|
||||||
updateTooltips();
|
updateTooltips();
|
||||||
|
|
||||||
auto deviceSize = qApp->getDeviceSize();
|
auto deviceSize = qApp->getDeviceSize();
|
||||||
glViewport(0, 0, deviceSize.width(), deviceSize.height());
|
|
||||||
|
|
||||||
//Handle fading and deactivation/activation of UI
|
//Handle fading and deactivation/activation of UI
|
||||||
gpu::Batch batch;
|
gpu::Batch batch;
|
||||||
|
|
|
@ -433,8 +433,6 @@ void GeometryCache::renderGrid(gpu::Batch& batch, int x, int y, int width, int h
|
||||||
}
|
}
|
||||||
// Draw vertical grid lines
|
// Draw vertical grid lines
|
||||||
for (int i = cols + 1; --i >= 0; ) {
|
for (int i = cols + 1; --i >= 0; ) {
|
||||||
//glVertex2i(tx, y);
|
|
||||||
//glVertex2i(tx, y + height);
|
|
||||||
*(vertex++) = tx;
|
*(vertex++) = tx;
|
||||||
*(vertex++) = y;
|
*(vertex++) = y;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue