Hello,
my DirectX Applictaion uses LPD3DXFONT DrawText method to render text.
STDMETHOD_(INT, DrawTextA)(THIS_ LPD3DXSPRITE pSprite, LPCSTR pString, INT Count, LPRECT pRect, DWORD Format, D3DCOLOR Color) PURE;
On my Intel HD 4000 Graphics the render succeed with an rectangle size of 1,1,1025,33 (HRESULT output: 0x12)
On my NVIDIA Geforce GT 630 this call fails with the HRESULT: 0x8 (No space aviable for this)
on the Nvidia GFX the size limits are ca. by 1,1,1001,726.
How can i get the size limits for drawtext?
I want manually force the rectangle down in case the GFX do not support this sizes.