mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:17:40 +02:00
cleanup
This commit is contained in:
parent
6c68d9abb3
commit
52f0b5f6c8
1 changed files with 0 additions and 2 deletions
|
@ -277,8 +277,6 @@ void HmdDisplayPlugin::internalPresent() {
|
||||||
if (getGLBackend()->isTextureReady(_previewTexture)) {
|
if (getGLBackend()->isTextureReady(_previewTexture)) {
|
||||||
auto viewport = getViewportForSourceSize(uvec2(_previewTexture->getDimensions()));
|
auto viewport = getViewportForSourceSize(uvec2(_previewTexture->getDimensions()));
|
||||||
|
|
||||||
qDebug() << "viewport:" << viewport.x << "," << viewport.y << "," << viewport.z << "," << viewport.w;
|
|
||||||
|
|
||||||
render([&](gpu::Batch& batch) {
|
render([&](gpu::Batch& batch) {
|
||||||
batch.enableStereo(false);
|
batch.enableStereo(false);
|
||||||
batch.resetViewTransform();
|
batch.resetViewTransform();
|
||||||
|
|
Loading…
Reference in a new issue