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:
parent
bcbf7759e6
commit
3fedd1dc0e
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#include <SDL/SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL/SDL_image.h>
|
#include <SDL_image.h>
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
@ -9,6 +9,10 @@
|
|||||||
#include "FileLoader/FileLoader.h"
|
#include "FileLoader/FileLoader.h"
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
TextureCache::~TextureCache()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
GLuint TextureCache::load(const FileLoader::Path & path,
|
GLuint TextureCache::load(const FileLoader::Path & path,
|
||||||
FileLoader & fileLoader, bool mipmaps,
|
FileLoader & fileLoader, bool mipmaps,
|
||||||
int mode, int quality)
|
int mode, int quality)
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
class TextureCache : public TextureLoader
|
class TextureCache : public TextureLoader
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~TextureCache();
|
||||||
virtual GLuint load(const FileLoader::Path & path,
|
virtual GLuint load(const FileLoader::Path & path,
|
||||||
FileLoader & fileLoader, bool mipmaps = true,
|
FileLoader & fileLoader, bool mipmaps = true,
|
||||||
int mode = GL_DECAL, int quality = 1);
|
int mode = GL_DECAL, int quality = 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user