[vtkusers] GL_MAX_TEXTURE_SIZE = -858993460 !?
Tim Hutton
tim.hutton at gmail.com
Thu Jun 28 06:23:10 EDT 2007
I'm getting a bad_alloc exception sometimes when I try to load a
textured surface in VTK. The error is due to the following line in
vtkopengltexture.cxx (167):
glGetIntegerv(GL_MAX_TEXTURE_SIZE,&maxDimGL);
which returns a value of -858993460. On other occasions it returns a
value of 4096 and everything works fine.
Have you come across anything similar before?
Platform:
vtk5.0.3
win xp
microsoft visual studio 7
Thanks,
Tim
More information about the vtkusers
mailing list