1 // This program is free software; you can redistribute it and/or
2 // modify it under the terms of the GNU General Public License as
3 // published by the Free Software Foundation; either version 2 of the
4 // License, or (at your option) any later version.
6 // This program is distributed in the hope that it will be useful, but
7 // WITHOUT ANY WARRANTY; without even the implied warranty of
8 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9 // General Public License for more details.
11 // You should have received a copy of the GNU General Public License
12 // along with this program; if not, write to the Free Software
13 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15 #ifndef __FGPNGTEXTURELOADER_HXX
16 #define __FGPNGTEXTURELOADER_HXX
18 #include "FGTextureLoaderInterface.hxx"
20 class FGPNGTextureLoader : public FGTextureLoaderInterface {
22 virtual GLuint loadTexture( const std::string & filename );
24 const static GLuint NOTEXTURE = 0;