Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

onRender callback must be set after getShaderStr

#162

If the onRender callback is set before getShaderStr() calls, nothing will render.

Reported by Andor Salga · July 19th, 2011 @ 04:58 PM

State: checked-in
Milestone: 0.8
Assigned to: Andor Salga Andor Salga

Activity

  1. Andor Salga
    Andor Salga
    • Milestone changed from 0.75 to 0.8
    • Milestone order changed from 24 to 0

    July 19th, 2011 @ 05:29 PM

  2. Andor Salga
    Andor Salga
    • State changed from assigned to staged
    • Milestone order changed from 18 to 0

    The problem was the script was trying to set uniform variables which didn't exist in the built-in shader. The assertions in the library were checking against -1, but the spec now uses null for getUniformLocation.

    Branch: https://github.com/asalga/XB-PointStream/tree/bug162
    Test: tests/user_shader

    September 12th, 2011 @ 05:00 PM

  3. Andor Salga
    Andor Salga
    • State changed from staged to checked-in

    October 24th, 2011 @ 08:11 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.