Skip to content

[rcore][drm] eglGetDisplay fails on some platforms #5378

@maiphi

Description

@maiphi

Issue description

On one of my boards with Mali-T764 and the proprietary Midgard driver, getting the EGL display connection with eglGetDisplay in rcore_drm.c fails.

The preferred way to get the connection is getPlatformDisplay instead.

I got this working and will send a pull request with the patch (after testing it on other systems).

Environment

An embedded board based on rk3288 and Mali-T764 with Yocto Scarthgap. Raylib built with PLATFORM=DRM and OpenGL ES 2.0.

(With the Panfrost driver, the issue does not occur. But with Panfrost, OpenGL hardware acceleration fails entirely on that platform, forcing software rendering.)

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