Does J's opengl implementation ever implicitly issue a glBegin
without a companion glEnd?  Or are there any documented
initialization steps which J leaves out?

Example session:
   require 'jzopengl'
   wd 'pc Frm;xywh 0 0 99 99;cc Ctl isigraph opengl;pas 0 0'
   ogl=: ''conew'jzopengl'
   wd 'pshow'
   glGetString__ogl GL_VERSION__ogl
+-+----+
|0|7938|
+-+----+
   glGetError__ogl''
1282
   GL_INVALID_OPERATION__ogl
1282

According to http://www.opengl.org/sdk/docs/man/xhtml/glGetString.xml
this means I issued that glGetString after a glBegin and before a glEnd.

I am trying to figure out if the documentation is correct, or if something
else has gone wrong.

I am getting this with j602 beta and with j601c

That said, when I search for people running into related issues, and
I find things like
http://osdir.com/ml/python.opengl.user/2004-07/msg00013.html
so I don't think it's anything as simple as an explicit glBegin.

Thanks,

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

Reply via email to