gl: TextureCache -> GlTextureCache

This commit is contained in:
flyinghead 2021-01-15 10:14:24 +01:00
parent 1727413247
commit f3b86f6c14
2 changed files with 3 additions and 3 deletions

View File

@ -226,7 +226,7 @@ public:
virtual bool Delete() override;
};
class TextureCache final : public BaseTextureCache<TextureCacheData>
class GlTextureCache final : public BaseTextureCache<TextureCacheData>
{
public:
void Cleanup()
@ -243,7 +243,7 @@ public:
private:
std::vector<GLuint> texturesToDelete;
};
extern TextureCache TexCache;
extern GlTextureCache TexCache;
extern const u32 Zfunction[8];
extern const u32 SrcBlendGL[], DstBlendGL[];

View File

@ -6,7 +6,7 @@
#include <cstdio>
#include <cstdlib>
TextureCache TexCache;
GlTextureCache TexCache;
void TextureCacheData::UploadToGPU(int width, int height, u8 *temp_tex_buffer, bool mipmapped, bool mipmapsIncluded)
{