Skip to content

xs_buffer API changed? #55

@dk

Description

@dk

Hello,

I'm still trying to make the shadertoy working, but it seems that there are not a lot of coherent effort going on. There's that bug which I'm not sure how to fix correctly:

Argument "\0\0\0\0\0\0\0\0" isn't numeric in subroutine entry at lib/OpenGL/Shader/OpenGL4.pm at line 154.

The line is

glGetShaderiv_c( ... , xs_buffer( $ok, 8))

But I'm confused - is it that xs_buffer supposed to return an PTR2IV(SvPV($ok)) here, or glGetShaderiv_c() should extract it from $ok, or it is the missing glGetShaderiv_p that needs to be used instead?

That looks like a trivial bug, but it would be nice if we could somehow make an effort to bring the two projects to a status that is not a nightmare to install.

Dmitry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions