Skip to content

Use of OpenGL blending creates apparent incompatibilities #1

@jasonpfox

Description

@jasonpfox

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions