Parent Directory | Revision Log | Patch
revision 1.5 by tjl, Wed Sep 4 07:37:10 2002 UTC | revision 1.6 by tjl, Thu Sep 12 15:30:04 2002 UTC | |
---|---|---|
# | Line 15 namespace Mosaic { | Line 15 namespace Mosaic { |
15 | DBG(dbg) << "TexId:: allocating\n"; | DBG(dbg) << "TexId:: allocating\n"; |
16 | glGenTextures(1, &id); | glGenTextures(1, &id); |
17 | DBG(dbg) << "TexId:: got "<<id<<"\n"; | DBG(dbg) << "TexId:: got "<<id<<"\n"; |
18 | if(!*this) throw InvalidTexture(); | if(this->isGood()) throw InvalidTexture(); |
19 | DBG(dbg) << "TexId:: allocated\n"; | DBG(dbg) << "TexId:: allocated\n"; |
20 | } | } |
21 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |