mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[client] egl: correct letterbox area clear attempt #2 :)
This commit is contained in:
		| @@ -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.0f, this->width - x2 - 0.5f, this->height); | ||||
|       glScissor(x2 + 0.5, 0.0f, this->width - x2, this->height); | ||||
|       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, this->width, this->height - y2 - 0.5f); | ||||
|       glScissor(0.0f, y2 + 0.5, this->width, this->height - y2); | ||||
|       glClear(GL_COLOR_BUFFER_BIT); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae