From: Chris Audley <chris@na...> - 2005-01-12 18:54:11
On Wed, 12 Jan, Stephen J Baker wrote:
> Chris Audley wrote:
> > ...GL_MAX_TEXTURE_SIZE returning 512 rather than 1024.
> I don't know what happened with Mesa - but that's not exactly the issue.
> GL_MAX_TEXTURE_SIZE is something you should not be using anymore.
> It's pretty much been obsolete since about OpenGL 1.1.
> So, forget about GL_MAX_TEXTURE_SIZE - use a Proxy texture instead.
Yep, the app does already do that. I was just looking at the output of glxinfo -l to work out what had changed between the two CVS snapshots, and GL_MAX_TEXTURE_SIZE stood out as having got smaller.
Keiths' suggestion of hacking ctx->Const.MaxTextureLevels has fixed this particular problem for me, but since the app is not using multiple mipmaps, I'm afraid I can't comment on whether or not this creates problems with the smallest mipmap not being used.
Chris Audley, Software Engineer http://www.navaho.co.uk
Navaho Technologies Ltd, Fairchild House, Southampton, SO15 2ED, UK
Get latest updates about Open Source Projects, Conferences and News.