Skip to content

allow MacOS OpenGL software renderer? #2080

@jjYBdx4IL

Description

@jjYBdx4IL

Seems to work by simply replacing:

ADD_ATTRIB(NSOpenGLPFAAccelerated);

with

ADD_ATTRIB(NSOpenGLPFARendererID);ADD_ATTRIB(kCGLRendererGenericFloatID);

in src/nsgl_context.m.

An automatic (optional?) fallback would be the best option.

Would be useful for debugging OpenGL apps inside a VM. Or as a fallback for incompatible hardware. For that purpose it would then also be great to have a way to check whether hardware acceleration is in use or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions