GetSaveFileName & texture problem SOLVED
hey i have a weird problem ive never had before
but this the first project ill do in open gl so dont start flame ^^
okay here is the problem.
ive made so i can switch from windowed to fullscreen and reverse and took use of a function called "GetSaveFileName" to open my map files.
I also made a function to reload the textures on changing from fullscreen to windowed and reverse ;)
it works great textures is loaded after the change.
now if i opens and file using "GetOpen/SaveFileName" and dialog popups
so far so good
i dont even need to load anything, aslong as the dialog shows up i cant switch to fullscreen or to windowed couse my textures wont load : /
i cant load in any textures again after using the dialog "GetSaveFileName"
plz reply if you need more explanation
i greatly would need to fix this : (
When you use GetSaveFileName() or GetOpenFileName() the working directory may change. One way to address it is to save the working directory before calling the functions and restoring it afterwards. If your target platforms support the OFN_NOCHANGEDIR flag you can try using that instead.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement