From fecb81486db38ca6b86a844dccfebe609eef2839 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Sun, 29 Mar 2020 18:36:54 +0200 Subject: [PATCH] Revert Fix for tvguide --- openglosd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openglosd.cpp b/openglosd.cpp index edbce21..f962cbd 100644 --- a/openglosd.cpp +++ b/openglosd.cpp @@ -787,8 +787,8 @@ bool cOglCmdRenderFbToBufferFb::Execute(void) { GLfloat pageHeight = (GLfloat)fb->ViewportHeight() / (GLfloat)fb->Height(); texX1 = abs(drawPortX) / (GLfloat)fb->Width(); texY1 = 1.0f - pageHeight - abs(drawPortY) / (GLfloat)fb->Height(); -// texX2 = texX1 + (GLfloat)fb->ViewportWidth() / (GLfloat)fb->Width(); - x2 = x + fb->Width(); + texX2 = texX1 + (GLfloat)fb->ViewportWidth() / (GLfloat)fb->Width(); +// x2 = x + fb->Width(); texY2 = texY1 + pageHeight; } GLfloat quadVertices[] = {