Relative Content

Tag Archive for c++openglwindowsfml

Context sharing between 2 windows in SFML

When creating 2 windows using sfml, I found out that only either of the window shows the triangle depending on window.setActive() function called in the code below. One of the window is completely a solid color. Here is the code that replicated the issue

Context sharing between 2 windows in SFML

When creating 2 windows using sfml, I found out that only either of the window shows the triangle depending on window.setActive() function called in the code below. One of the window is completely a solid color. Here is the code that replicated the issue