Jump to content
  • Advertisement
Sign in to follow this  
glmisscelan

Nvidia 7600 GS AGP and gluBuild2dMipMaps

This topic is 4315 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I bought this nvida card, before i had an Ati Radeon 9200. The application that im developing worked without problems on Ati, but now with the new card i have problems in this part: Code: glGenTextures(1, textura_temp); glPixelStorei (GL_UNPACK_ALIGNMENT, 1); glBindTexture(GL_TEXTURE_2D, *textura_temp); GLint internalFormat = channels if (conf_get_ext(EXT_ARB_COMP)) /*check if have the extension*/ { internalFormat = GL_COMPRESSED_RGB_ARB; if channels == FT_ALPHA) { internalFormat = GL_COMPRESSED_RGBA_ARB; } } gluBuild2DMipmaps(GL_TEXTURE_2D, internalFormat, w, h type, GL_UNSIGNED_BYTE, data); It fails on gluBuild, but not for all the textures. The backtrace report show this line: nvoglnt!DrvValidateVersion() (??:??) The texture where the app fails seems normal. JPG 256x 256. The card has the extension and go inside if, if i comment it (if) some textures looks bad but the app works. Someone can help me. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Yes i have the latest drivers. I test it with some games FEAR, DOOM3, QUAKE 4 and seems to work perfect.

I have the same problem in Xp an 2000.

Thanks.

Share this post


Link to post
Share on other sites
Well if that code is correct and type in your issue is

gluBuild2DMipmaps(GL_TEXTURE_2D, internalFormat, w, h, type, GL_UNSIGNED_BYTE, data);

You have no , after h

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!