I am trying J's demos under j602. They used to work for me, though I
am not specifically sure if that was on this machine.
opengl simple demos works just fine for me.
opengl, however fails on an assertion:
'hgl failed' oglassert hgl
in rc inherited from jzopengl.
Looking closer, hgl is 0, in:
hgl=: >{.wglCreateContext hdc
if. *./0=hgl,ONETIME do.
ONETIME_jzopengl_=: 1
rc''
end.
'hgl failed' oglassert hgl
glGetError returns 1282 (invalid operation)
So.. apparently wglCreateContext fails sometimes and the solution has
been to recursively run rc again, but just once.
Does anyone have any suggestions of what to investigate, to determine
what is going wrong here?
Note that J's debugger has a tendency to vanish when I try experiments
(such as running rc'' manually in a debugging context -- which still
failed), and I have to exit J and restart to get it back. So I feel a
bit lost here.
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm