try adding the `loadExtensions` proc before calling any opengl function. Since 
the example does work, you can incrementally transform the working example into 
what you are trying to do, and see what you were missing, as soon as a change 
breaks the code.

Reply via email to