mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 21:42:31 +02:00
REverting all the changes from the brown branch not used
This commit is contained in:
parent
9ad783135c
commit
afb6c838eb
5 changed files with 1 additions and 5 deletions
|
@ -542,7 +542,7 @@ void OpenGLDisplayPlugin::renderFromTexture(gpu::Batch& batch, const gpu::Textur
|
|||
batch.resetViewTransform();
|
||||
batch.setViewportTransform(copyFboRect);
|
||||
batch.setStateScissorRect(copyFboRect);
|
||||
// batch.clearColorFramebuffer(gpu::Framebuffer::BUFFER_COLOR0, {0.0f, 0.0f, 0.0f, 1.0f});
|
||||
batch.clearColorFramebuffer(gpu::Framebuffer::BUFFER_COLOR0, {0.0f, 0.0f, 0.0f, 1.0f});
|
||||
batch.blit(fbo, sourceRect, copyFbo, copyRect);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,7 +99,6 @@ const QSurfaceFormat& getDefaultOpenGLSurfaceFormat() {
|
|||
#else
|
||||
format.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile);
|
||||
#endif
|
||||
|
||||
if (gl::Context::enableDebugLogger()) {
|
||||
format.setOption(QSurfaceFormat::DebugContext);
|
||||
}
|
||||
|
|
|
@ -152,7 +152,6 @@ void OculusDisplayPlugin::hmdPresent() {
|
|||
// taking ownership of the object
|
||||
auto fbo = getGLBackend()->getFramebufferID(_outputFramebuffer);
|
||||
glNamedFramebufferTexture(fbo, GL_COLOR_ATTACHMENT0, curTexId, 0);
|
||||
auto viewport = ivec4(uvec2(), _outputFramebuffer->getSize());
|
||||
render([&](gpu::Batch& batch) {
|
||||
batch.enableStereo(false);
|
||||
batch.setFramebuffer(_outputFramebuffer);
|
||||
|
|
|
@ -23,7 +23,6 @@ Item {
|
|||
height: 24
|
||||
|
||||
property var _color: Qt.rgba(1.0, 1.0, 1.0, 1.0 );
|
||||
property var _lcolor: Qt.vec4(1.0, 1.0, 1.0, 1.0 );
|
||||
property var zoneWidth: width / 3;
|
||||
property var hoveredOn: 0.0;
|
||||
property var sliderHeight: height / 2;
|
||||
|
|
|
@ -14,7 +14,6 @@ import QtQuick.Layouts 1.3
|
|||
import stylesUit 1.0
|
||||
import controlsUit 1.0 as HifiControls
|
||||
import "configSlider"
|
||||
import "../lib/plotperf"
|
||||
|
||||
Rectangle {
|
||||
HifiConstants { id: hifi;}
|
||||
|
|
Loading…
Reference in a new issue