glthread: blit OSD manually

to help debugging of framebuffer issues, only blit the openGL
framebuffer after an explicit blit() call
This commit is contained in:
Stefan Seyfried
2013-04-06 12:06:18 +02:00
parent 069bf46578
commit 843e9f395a
3 changed files with 16 additions and 1 deletions

View File

@@ -30,6 +30,9 @@
#endif
#include <driver/framebuffer.h>
#ifdef USE_OPENGL
#include "glthread.h"
#endif
#include <stdio.h>
#include <fcntl.h>
@@ -821,6 +824,10 @@ void CFbAccel::blit()
/* not azbox and not spark -> no blit() needed */
void CFbAccel::blit()
{
#ifdef USE_OPENGL
if (fb->mpGLThreadObj)
fb->mpGLThreadObj->blit();
#endif
}
#endif