Right - in isigraph, drawing is allowed only in a paint event, and other attempts fail in chkgl2.

Henry Rich

On 9/12/2015 1:35 AM, Michal Wallace wrote:
Using an isidraw instead of an isigraph seems to fix the problem.

On Fri, Sep 11, 2015 at 11:26 PM, Michal Wallace <[email protected]>
wrote:

As far as I can tell, it's meant to work like this:

NB. ==========================

load 'viewmat'


w_cancel =: 3 : 0

   wd 'pclose'

)


wd 0 : 0

   pc w closeok;

   cc g isigraph;

   pshow;

)


viewmatcc_jviewmat_ (i.3 4);'g'


NB. ==========================


... but in jQt (both j803/j804, windows 64) it gives:

    viewmatcc_jviewmat_ (i.3 4);'g'

|domain error: chkgl2

|   glpixels(0 0,mwh),mat(27 b.)16777215


Is this a bug or am I doing it wrong?


-Michal



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to