Hi there!
I'm trying to create simple button on top of openGL scene, but I have one serious problem.
I am using double buffer and when I want to draw the button, it is covered by the openGL scene.
The whole openGL window is in fullscreen mode (WS_POPUP) and when I use WS_CLIPSIBLINGS and WS_CLIPCHILDREN window style for the parent window,
the area of the button is filled with Visual Studio background. But when I minimize that window and maximize again, the button is drawn but it has no text on it.
FPS in the scene also dramatically drop when I just create the button. I have no idea what can I do to fix that.
Any help would be appreciated. Thank You in advance!