Added code to support toggling between windowed and fullscreen mode for win32 platform.

This commit is contained in:
Mark Vejvoda
2010-04-05 20:42:05 +00:00
parent c525407904
commit b7a5970a3c
6 changed files with 29 additions and 26 deletions

View File

@@ -78,6 +78,8 @@ public:
virtual void init(Filter filter= fBilinear, int maxAnisotropy= 1)=0;
virtual void end()=0;
virtual void reseInitState() { inited = false; }
};
// =====================================================

View File

@@ -38,13 +38,14 @@ protected:
public:
TextureManager();
~TextureManager();
void init();
void init(bool forceInit=false);
void end();
void setFilter(Texture::Filter textureFilter);
void setMaxAnisotropy(int maxAnisotropy);
void initTexture(Texture *texture);
void endTexture(Texture **texture);
void reinitTextures();
Texture *getTexture(const string &path);
Texture1D *newTexture1D();