Skip to content

Typo in egl_create #1

@plops

Description

@plops

I think in the function egl_create renderable_type should be surface_type:

        if ((renderable_type & EGL_PBUFFER_BIT) == 0) {
            continue;
        }
        if ((renderable_type & EGL_WINDOW_BIT) == 0) {
            continue;
        }

Otherwise surface_type wouldn't be used at all.

I tried a fix in my fork. There is no change in the program behaviour that I can see.

I also had to link with libEGL and libGLESv3 to prevent a dynamic linker error that prevents the program from starting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions