mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
OPENGLOSD: early break on no text draw
This commit is contained in:
parent
ad7acde1f4
commit
7f054f8320
@ -1179,7 +1179,7 @@ cOglCmdDrawText::~cOglCmdDrawText(void) { free(symbols); }
|
|||||||
bool cOglCmdDrawText::Execute(void) {
|
bool cOglCmdDrawText::Execute(void) {
|
||||||
cOglFont *f = cOglFont::Get(*fontName, fontSize);
|
cOglFont *f = cOglFont::Get(*fontName, fontSize);
|
||||||
|
|
||||||
if (!f)
|
if (!f || !symbols[0])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
VertexBuffers[vbText]->ActivateShader();
|
VertexBuffers[vbText]->ActivateShader();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user