1
0
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:
jojo61 2023-05-25 13:57:15 +02:00
parent ad7acde1f4
commit 7f054f8320

View File

@ -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();