mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +00:00
[client] egl: correct letterbox area clear attempt #3 - sigh
This commit is contained in:
parent
3e08e7aafa
commit
e755f0befa
1 changed files with 2 additions and 2 deletions
|
@ -860,7 +860,7 @@ inline static void renderLetterBox(struct Inst * this)
|
|||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
float x2 = this->destRect.x + this->destRect.w;
|
||||
glScissor(x2 + 0.5, 0.0f, this->width - x2, this->height);
|
||||
glScissor(x2 - 0.5, 0.0f, this->width - x2, this->height + 1.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
|
@ -870,7 +870,7 @@ inline static void renderLetterBox(struct Inst * this)
|
|||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
|
||||
float y2 = this->destRect.y + this->destRect.h;
|
||||
glScissor(0.0f, y2 + 0.5, this->width, this->height - y2);
|
||||
glScissor(0.0f, y2 - 0.5, this->width, this->height - y2 + 1.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue