Hi Laurent,
I have posted a while back about SFML lacking GUI support. I have found a very promising project (SFGUI) which integrates neatly into SFML code and is able to create viable GUI. It will not have a native look to it, but that's a cost I'm willing to pay if code stays neat, no extra compilers or SDKs are needed and the likes.
I have started learning SFML and building a codebase for myself, but it seems that the OpenGL part is misbehaving.
GLPushMatrix() and GLPopMatrix() do not function the way they claim to. I use OpenGL 3.2+ syntax, namely I handle all matrixes myself and use VertexArrays and attrib params to them. After I render my scene, a single shaded triangle. I call glFinish() after my part of the rendering to make sure it doesn't mix with internal SFML stuff. I PushStates, render the text and PoPStates. After this, my triangle loses shading and is mispositioned.
While writing the post, it popped into my mind, that maybe the program usage is not restored, and my guess was right. If I reissue glUseProgram(myProgram) after text render, both display correctly. Is this a bug, os simply program is not restored by the Push/Pop?
Cheers,
Máté