[sldev] Vista ATI driver support

Andrew Wesie awesie at gmail.com
Wed Mar 7 22:46:43 PST 2007


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


More information about the SLDev mailing list