Login  Register

Re: Possible to use vertex shader without vbo?

Posted by sirus20x6 on Jul 03, 2015; 11:33am
URL: https://forum.jogamp.org/Possible-to-use-vertex-shader-without-vbo-tp4034532p4034811.html

It throws no exception so I placed a breakpoint at immodesink.draw(gl,true); It gets called twice before the freeze. so on the second time I stepped over the code until it wouldnt go any farther. the last line that gets called is in GLCanvas.class

    public void update(Graphics var1) {
        this.paint(var1);
    }


after that the app hangs for 2-3 minutes then it does eventually draw to the screen and then runs at the correct speed. I hadn't let it run for this long before so I thought it just crashed.

When I run it with the debugger the output isnt exactly correct though. right is immodesink




I wonder what's causing that 2-3 minutes of delay.