Re: GL_MAX_TEXTURE_SIZE returning 0
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/