mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 20:03:58 +02:00
Added code to support toggling between windowed and fullscreen mode for win32 platform.
This commit is contained in:
@@ -78,6 +78,8 @@ public:
|
||||
|
||||
virtual void init(Filter filter= fBilinear, int maxAnisotropy= 1)=0;
|
||||
virtual void end()=0;
|
||||
|
||||
virtual void reseInitState() { inited = false; }
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user