View Full Version : textures disappear when executable moved
01-06-2010, 09:57 AM
I have a glut application that loads 6 textures and displays them (although this isn't the only thing it does) when I copy the executable file (windows .exe file) and the texture files to a new computer they are no longer visible when the application runs. all of the files are in the same folder on both the development pc and test pc.
01-06-2010, 12:55 PM
A sanity check is to try a simple 128x128 image, that should work everywhere.
There is a good chance that one pc has a more capable hardware.
Things to check, once GL in initialized, log some info :
- maximum texture size :
- hardware support for non-power-of two textures :
does glGetString(GL_EXTENSIONS) contain GL_ARB_texture_non_power_of_two ?
- loaded image size. check it stays within the above limits.
Do you use mipmaps ?
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.