[WIN32] Do not draw text with no vertices or indexes.
authorCrystalP <CrystalP@xbmc.org>
Mon, 25 Jul 2011 07:30:41 +0000 (03:30 -0400)
committerCrystalP <CrystalP@xbmc.org>
Mon, 25 Jul 2011 07:48:58 +0000 (03:48 -0400)
commit8346a6c32562c6ff91a9c6a73c611b8c6bc09b21
tree8610616e752b98227f4fe961120c6d746d18deda
parent96dcde2799008b737a9be3c2b76528d5bbee39c5
[WIN32] Do not draw text with no vertices or indexes.

To be safe. DrawIndexedPrimitiveUP in D3D debug mode throws an error about that. Drivers seem to work around this, so this will likely not fix a problem for anyone.
xbmc/guilib/GUIFontTTFDX.cpp