[vtkusers] vtkgl GetInteger is NULL

xabivtk xabivtk at gmail.com
Fri Feb 10 05:22:30 EST 2012


Hi,
I have some code using vtkgl to call openGL methods and everything works
fine, except for GetInteger.
My computer and OS is 64bits, so i try to use vtkgl::GetInteger64v but it is
set to 0x000000 and vtkgl::GetIntegerv is not defined.
If i use direct openGL calls, it works with glGetIntegerv.

// crash
vtkgl::GLint64 var;
vtkgl::GetInteger64v(vtkgl::MAX_ELEMENTS_VERTICES, &var);

// ok
GLint var;
glGetIntegerv(vtkgl::MAX_ELEMENTS_VERTICES, &var);

Does someone know what i am doing wrong with vtkgl?

configuration:
Windows7 64 bits
Visual Studio C++ 32bits
vtk 5.6.1
opengl 4.1


--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkgl-GetInteger-is-NULL-tp5472008p5472008.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list