GL_MAX_TEXTURE_SIZE returning 0

Vincent VIVANLOC <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
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 ?

Regards,

Vincent

---------------

The piece of code to insert within osgviewer render loop :

GLint   _maxTextureSize;
glGetIntegerv(GL_MAX_TEXTURE_SIZE,&_maxTextureSize);
printf("GL_MAX_TEXTURE_SIZE : %d\n",_maxTextureSize);


My configuration :

3 linux PC under Fedora 5
GPUs : ATI Radeon X800 GTO  with fglrx drivers / the situation is similar with NVIDIA GPUs. 

OSG version : 1.2
Chromium version : 1.9.

-------------------------------------------------------------------------
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/

_______________________________________________
Chromium-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-users
vivanloc.vcf (text/x-vcard, 361 B)
begin:vcard
fn:Vincent VIVANLOC
n:VIVANLOC;Vincent
org:Institut de Recherche en Informatique;Rendering and Visualisation / Computer Graphics and Virtual Reality
adr;quoted-printable:;;Universit=C3=A9 Paul Sabatier ;Toulouse;Haute-Garonne;;France
email;internet:[email protected]
title:Student (PhD)
tel;work:0561557420
tel;home:0561612436
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.