On 04/19/2012 05:20 PM, Waigie [via jogamp] wrote:
> Hi,
>
> I want to port my application from using AWT/GLCanvas to NEWT/GLWindow. So I
> have all my drawing code up and working, but when I try to use GLWindow
> instead of a Frame with a GLCanvas all that is performed is the glClear
> statement.
>
> If made a small sample Application to illustrate the problem. Maybe someone
> could help me.
> You can find the Code at:
http://pastebin.com/UBXUnKR2Changes attached ..
- You were using a core profile GL3, which doesn't include
fixed point functionality (FFP) - hence you need a shader.
I changed it to GL3bc, which includes FFP.
- With FFP, I set the foreground color to RED,
otherwise nothing may be visible.
- Note: since you don't change the matrix, it's -1/1 .. etc, ok
~Sven