0 Members and 1 Guest are viewing this topic.
You can't do it with SFML. The best workaround is to use the OpenGL function glScissor.
glEnable(GL_SCISSOR_TEST);glScissor(left, top, width, height);// draw your stuffglDisable(GL_SCISSOR_TEST);