mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Revert Fix for tvguide
This commit is contained in:
parent
f756334187
commit
fecb81486d
@ -787,8 +787,8 @@ bool cOglCmdRenderFbToBufferFb::Execute(void) {
|
|||||||
GLfloat pageHeight = (GLfloat)fb->ViewportHeight() / (GLfloat)fb->Height();
|
GLfloat pageHeight = (GLfloat)fb->ViewportHeight() / (GLfloat)fb->Height();
|
||||||
texX1 = abs(drawPortX) / (GLfloat)fb->Width();
|
texX1 = abs(drawPortX) / (GLfloat)fb->Width();
|
||||||
texY1 = 1.0f - pageHeight - abs(drawPortY) / (GLfloat)fb->Height();
|
texY1 = 1.0f - pageHeight - abs(drawPortY) / (GLfloat)fb->Height();
|
||||||
// texX2 = texX1 + (GLfloat)fb->ViewportWidth() / (GLfloat)fb->Width();
|
texX2 = texX1 + (GLfloat)fb->ViewportWidth() / (GLfloat)fb->Width();
|
||||||
x2 = x + fb->Width();
|
// x2 = x + fb->Width();
|
||||||
texY2 = texY1 + pageHeight;
|
texY2 = texY1 + pageHeight;
|
||||||
}
|
}
|
||||||
GLfloat quadVertices[] = {
|
GLfloat quadVertices[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user