Hey,
i'm using the
Leadwerks Engine 2.3 for my game. Although it is a good engine, the font support is pretty weak, so i'd like to use sf::String in combination with the normal drawing commands of the engine to draw on the SAME render target.
So what i basically want to do with SMFL is:
-do no OGL initialization at all
-do not create any Window or RenderTarget, since they already exist
-render the string on the current render target, with the current render states
-do not flip buffers, since LE does this
The problems seems to be that LE also uses OpenGL and somehow the render states or OGL initialization or whatever seem to interfere as soon as I create a sf::RenderWindow from the existing HWND.
I also tried to derive a class from sf::RenderTarget which basically does nothing ( since the render target already exists and is correctly set up ) and draw the String with that target, but i'm also just getting memory acess violations.
Unfortunately, LE is closed source, so I cannot tell exactly what it does.
Any help would be appreciated.
Greetings from Bavaria
Gandi[/url]