Re: Problem with code which works in compiled mode and fails in hosted mode

2010-07-07 Thread CarToro
Hi Alan, I think I misled you with my answer. It turns out that the GWT-G3D had a very similar problem, but not quite the same. I started using the GWT-GL wrapper, and now I'm having the same problem as you are! For some reason, the method glContext.getUniformLocation(shaderProgram,

Re: Problem with code which works in compiled mode and fails in hosted mode

2010-07-06 Thread CarToro
Hi Alan, It looks like you haven't received many replies yet. I ran into the same problem, but I managed to find a solution. Albeit not the most elegant, it did allow me to carry on working. OK, your problem is around here The actual lines of code are:         float [] perspectiveMatrix =

Problem with code which works in compiled mode and fails in hosted mode

2010-05-24 Thread Alan Chaney
Hi I'm using the gwtgl library. There's one method invocation in it which throws an exception in hosted mode but seems to work OK in compiled mode. I suspect that the answer is obvious... Any suggestions would be greatly appreciated... The actual lines of code are: float []