PDA

View Full Version : ATI and glGenerateMipmap not working?



Mars_999
07-08-2009, 04:18 PM
I have tried this on Nvidia and works great. ATI I have no luck. I am using glGenerateMipmap to generate mipmaps for simple 2D textures and isn't working at all. Anyone else have this issue? If not anyone know of someone at ATI who I can forward this to? Please don't tell me a bug list report as I never had a reply to anything I have sent...

Thanks

Mars_999
07-08-2009, 07:51 PM
I guess you need to call

glTexImage2D()
glEnable(GL_TEXURE_2D)
glGenerateMipmapEXT()

what a joke, on Nvidia no need for a glEnable() call and ATI you need to. OH well more fun I guess!

scratt
07-08-2009, 08:42 PM
FWIW I thought you had to enable GL_TEXTURE_xD to use those commands... Seems more like a marginally useful bug on NVidia's end. ;)

btw if you join the MacOpenGL mailing list I know that a fair few of the ATI guys monitor that list and do reply very quickly to bug reports etc.

Mars_999
07-09-2009, 12:58 AM
Hey scratt, I will look into it. Thanks

scratt
07-10-2009, 05:38 AM
Re: The email list...

Now that you've had it confirmed as a bug then it's worth sending a report to BugReporter at Apple. I'd attach a copy of the email you have to the report also.

:)

Mars_999
07-10-2009, 08:17 PM
Yeah I will get to that soon I hope!!

BTW you moving to GL3 when it comes to OSX right away?

scratt
07-10-2009, 09:00 PM
Absolutely. :) I am also very much looking forward to CL.

maxest
07-18-2009, 07:23 PM
I'd like to add that on NVidia (GF8400, GF6600 - these I tested), when getting back from minimzed mode to full-screen mode, mipmaps are not generated. Looks like they're "lost" (like in D3D).