mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00: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) {
|
||||
cOglFont *f = cOglFont::Get(*fontName, fontSize);
|
||||
|
||||
if (!f)
|
||||
if (!f || !symbols[0])
|
||||
return false;
|
||||
|
||||
VertexBuffers[vbText]->ActivateShader();
|
||||
|
Loading…
x
Reference in New Issue
Block a user