From: Brian P. <bri...@tu...> - 2007-06-08 17:02:09
|
Vincent VIVANLOC wrote: > Dear all, > > A collegue is trying to run an OpenSceneGraph application through Chromium. > However, any application with a textured scene segfaults. > > After some investigations, I found that OSG relies on GL_MAX_TEXTURE_SIZE > to resize a TEXTURE_2D to the nearest power of 2. > Under a Chromium cave configuration, GL_MAX_TEXTURE_SIZE returns 0, > therefore OSG tries to allocate a texture of (0,0) size which causes the > segfault. > > Could anyone confirm that bug ? Seems OK here. I modified the atlantis demo to query/print GL_MAX_TEXTURE_SIZE. I tried it with a pack SPU and tilesort SPU. I got 4096 in both cases. What SPUs are you using? -Brian |