[sldev] Vista ATI driver support

Steve steve at lindenlab.com
Thu Mar 8 14:04:55 PST 2007


Has this change worked for anyone else? I tried it and did not find that 
it made any difference on my X1600 Vista system.

I re-read the OpenGL docs for glTexSubImage2D and did not find anywhere 
suggesting that GL_TEXTURE_2D needed to be enabled for this function, 
and there is really no reason why it should be needed; GL_TEXTURE_2D is 
a render state, and glTexSubImage2D is not a render call.

I have been in touch with someone at ATI and we should be getting access 
to their latest beta drivers soon so that we can ensure that this bug 
gets fixed in their next release in case we can not find a workaround.

Thanks,
-Steve

Andrew Wesie wrote:
> Not sure how many of you know this, but there have been problems with 
> getting Second Life to work on Vista if you have an ATI video card. I 
> had fixed this previously by deleting the crashing funciton call to 
> glTexSubImage2D. However, I have discovered that the root of the 
> problem is that Second Life fails to call enable GL_TEXTURE_2D before 
> calling glTexSubImage2D, which is in error according to 
> http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/texsubimage2d.html. 
>
> What I don't know is where the best place to call LLGLEnable 
> texture_2d(GL_TEXTURE_2D) is at. It would be a simple matter to throw 
> it at the end of the LLImageGL constructors as I did for my VistaSL 
> build, but I am wondering if there is a better way. Is there some root 
> function that would better serve the interest of calling this function 
> to enable GL_TEXTURE_2D? Does this function have any side effects that 
> would affect the game?
>
> Andrew Wesie
> a.k.a. Lockhart Cordoso
> awesie at gmail.com
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html



More information about the SLDev mailing list