You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to add menus to an existing OpenGL application and found that as soon as a menu was enabled, most of the other data layers being drawn to OpenGL buffer were lost / no longer rendered over the entire window.
If I comment out the blend-related calls in menu drawing and gltext drawing, then functionality appears to be restored with compatibility between the menus and my prior drawing code and all information being drawn to the screen.
I am not very familiar with OpenGL and do not know if there is a specific need / desire for the blending or if it would be desirable to remove the blending to increase compatibility (unless I am doing something wrong elsewhere that is hidden when not using a layer employing blending).
For my application, I also have to turn off the depth function, and with DEPTH_TEST not enabled then blending is no longer required to get text to render...
The text was updated successfully, but these errors were encountered:
Thanks for pointing this out. I don't believe I had tried rendering menus alongside other objects. I was treating it as an either or situation. Please be sure to update your fork so that everybody can see what it is that you did. At some point I might look into it myself.
I was trying to add menus to an existing OpenGL application and found that as soon as a menu was enabled, most of the other data layers being drawn to OpenGL buffer were lost / no longer rendered over the entire window.
If I comment out the blend-related calls in menu drawing and gltext drawing, then functionality appears to be restored with compatibility between the menus and my prior drawing code and all information being drawn to the screen.
I am not very familiar with OpenGL and do not know if there is a specific need / desire for the blending or if it would be desirable to remove the blending to increase compatibility (unless I am doing something wrong elsewhere that is hidden when not using a layer employing blending).
For my application, I also have to turn off the depth function, and with DEPTH_TEST not enabled then blending is no longer required to get text to render...
The text was updated successfully, but these errors were encountered: