mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 14:01:38 +02:00
Working on batching the stereo
This commit is contained in:
parent
50b5c632de
commit
9f4516da89
1 changed files with 3 additions and 3 deletions
|
@ -248,14 +248,14 @@ void GLBackend::render(Batch& batch) {
|
|||
if (!batch.isStereoEnabled()) {
|
||||
_stereo._enable = false;
|
||||
}
|
||||
_stereo._enable =batch.isStereoEnabled();
|
||||
|
||||
glEnable(GL_CLIP_DISTANCE0);
|
||||
|
||||
{
|
||||
PROFILE_RANGE("Transfer");
|
||||
renderPassTransfer(batch);
|
||||
}
|
||||
_stereo._enable =batch.isStereoEnabled();
|
||||
|
||||
glEnable(GL_CLIP_DISTANCE0);
|
||||
|
||||
{
|
||||
PROFILE_RANGE(_stereo._enable ? "LeftRender" : "Render");
|
||||
|
|
Loading…
Reference in a new issue