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 committed 2009-10-19 12:30:02 +00:00
1 parent bcbf7759e6
commit 3fedd1dc0e
2 files changed
+7 -2

No files matched your search

+6 -2
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)
+1
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);