[OpenGL] White textures bug (dangling pointer)

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
mgiuca
Posts: 4
Joined: Mon Aug 01, 2011 2:25 am

[OpenGL] White textures bug (dangling pointer)

Post by mgiuca »

I've found, and fixed, a rather nasty bug in the OpenGL driver in which some textures would be all white, some of the time. I'm a bit confused about where to report a bug, since there is a "bug reports" forum channel as well as a bug tracker on SourceForge. I opened a ticket on SourceForge, but I thought I'd post it here too, in case people don't actively check the tracker. A patch with test case is attached to the tracker.

https://sourceforge.net/tracker/index.p ... tid=540676
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: [OpenGL] White textures bug (dangling pointer)

Post by hybrid »

Yes, everything correct. Best bug reports have both a tracker ticket and a forum thread. I'll look into this, didn't check the bug report yet.
mgiuca
Posts: 4
Joined: Mon Aug 01, 2011 2:25 am

Re: [OpenGL] White textures bug (dangling pointer)

Post by mgiuca »

Sorry to bump this, but did anybody look at it? I filed a fairly detailed bug report with a complete patch and test case almost two months ago, so I don't think it would be too much work to accept it.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: [OpenGL] White textures bug (dangling pointer)

Post by hybrid »

Well, I have not only looked at it, but also worked through the whole code of the patch and the driver parts around. Since it reworks some important parts of the engine, it takes a little longer to integrate this change properly. But at least I could reproduce the problem, and I also understood the problematic parts of the driver already. Now it's time for the clean up and the fix will go into the engine.
Post Reply