Thanks! I pushed a fix.

Jay

On Mon, Jun 20, 2016 at 6:49 AM, 'Thomas Prebeck' via Racket Users
<racket-users@googlegroups.com> wrote:
> I cloned the github repo and found the offending bits:
>
> ngl.vertex.glsl line 49:
>
> Color = vec4(r / 255.0, g / 255.0, b / 255.0, a);
>
> I changed it to:
>
> Color = vec4(float(r) / 255.0, float(g) / 255.0, float(b) / 255.0, a);
>
> and everthing works
>
> Am Montag, 20. Juni 2016 11:27:49 UTC+2 schrieb Thomas Prebeck:
>> Hi there,
>>
>> I'm trying to write a simple program using mode-lambda.
>> It runs when I use the software backend, although very slowly.
>> When I try to use the gl backend, the program crashes with this error:
>>
>> -------------------------------------
>> You are using OpenGL (4 5 0)
>> Log of shader(1):
>> 0(149) : error C1020: invalid operands to "/"
>> 0(149) : error C1020: invalid operands to "/"
>> 0(149) : error C1020: invalid operands to "/"
>>
>> Exiting...
>> -------------------------------------
>>
>> I'm using a NVIDIA Quadro K620 with the 364.19 official driver on Ubuntu 
>> Linux 14.04.
>>
>> The same error comes up if I run "racket -l mode-lambda/examples/one" 
>> whithout the --soft switch
>>
>> Thanks in advance
>> Thomas Prebeck
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to