D3DXFONT->DrawTextA Return value??
strange, the function is declared:
INT DrawTextA(...);
and it says it returns D3D_OK on success, but usually that goes wtih an HRESULT return value.
PLUS:
help file says using the flag DT_CALCRECT:
"Determines the width and height of the rectangle... In either case, DrawTextA returns the height of the formatted text but does not draw the text."
So this says it could return the height?
PLUS:
I call drawtextA and check the return value, I ENVER get D3d_OK but it DOES draw, what''s the dilly yo, bad documentation?
ByteMe95::~ByteMe95()
My S(h)ite
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement