added virtual destructor to remove some compiler warnings

git-svn-id: svn://anubis/misc/TextureCache@188 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2009-10-19 12:30:02 +00:00
parent bcbf7759e6
commit 3fedd1dc0e
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <SDL.h>
#include <SDL_image.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <iostream>
@ -9,6 +9,10 @@
#include "FileLoader/FileLoader.h"
using namespace std;
TextureCache::~TextureCache()
{
}
GLuint TextureCache::load(const FileLoader::Path & path,
FileLoader & fileLoader, bool mipmaps,
int mode, int quality)

View File

@ -12,6 +12,7 @@
class TextureCache : public TextureLoader
{
public:
virtual ~TextureCache();
virtual GLuint load(const FileLoader::Path & path,
FileLoader & fileLoader, bool mipmaps = true,
int mode = GL_DECAL, int quality = 1);