1D textures. Maybe.

This commit is contained in:
gibbed
2017-01-10 00:04:41 -06:00
parent cec8932605
commit a95de67b8c
6 changed files with 195 additions and 3 deletions

View File

@@ -96,6 +96,7 @@ class TextureCache {
uint64_t opt_hash = 0);
void EvictTexture(TextureEntry* entry);
bool UploadTexture1D(GLuint texture, const TextureInfo& texture_info);
bool UploadTexture2D(GLuint texture, const TextureInfo& texture_info);
bool UploadTextureCube(GLuint texture, const TextureInfo& texture_info);