NB. test opengl dlls are available

require 'gl3'

TESTDLLMSG=: 0 : 0
Load of OpenGL DLLs failed. Please check that OpenGL is supported on your machine.
)

3 : 0''
testopengl=. 13!:8 @ 1:
wd :: [ 'psel testdll;pclose'
wd 'pc testdll;cc g isigraph ws_clipchildren ws_clipsiblings'
z=. glaRC_jgl3_ :: _1: ''
wd :: [ 'psel testdll;pclose'
msg=. 'OpenGL DLLs';TESTDLLMSG
4!:55 <'TESTDLLMSG'
if. z -: _1 do.
  wdinfo 'OpenGL';msg
  testopengl''
end.
i.0 0
)
