fix alt-tab

This commit is contained in:
David Rose 2001-06-20 07:10:27 +00:00
parent b9decce310
commit 7e59df5359
1 changed files with 6 additions and 1 deletions

View File

@ -232,7 +232,12 @@ load(const PNMImage &pnmimage) {
if (!_pbuffer->load(pnmimage))
return false;
unprepare();
// It's not a good idea to call this here, since this function might
// be called from within the GSG itself--which won't expect the
// texture to suddenly unprepare itself. Better to have the user
// explicitly unprepare() the texture if she loads a new file.
// unprepare();
return true;
}