diff options
author | Max Lingua | 2014-01-23 18:33:15 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-23 18:33:15 -0500 |
commit | 4ccdb3e2a30ead1fa015437306b046b69b69035b (patch) | |
tree | e7a75774b540d871848791a6a8db9358514a97b2 /backends/platform/android/texture.h | |
parent | b69a2c81a7b0ed535e23e91928bc8ba193db744a (diff) | |
parent | 2fe303ce3fff008a58e9750c66e707ec4e7c93d8 (diff) | |
download | scummvm-rg350-4ccdb3e2a30ead1fa015437306b046b69b69035b.tar.gz scummvm-rg350-4ccdb3e2a30ead1fa015437306b046b69b69035b.tar.bz2 scummvm-rg350-4ccdb3e2a30ead1fa015437306b046b69b69035b.zip |
Merge branch 'master' of git://github.com/scummvm/scummvm
Diffstat (limited to 'backends/platform/android/texture.h')
-rw-r--r-- | backends/platform/android/texture.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backends/platform/android/texture.h b/backends/platform/android/texture.h index 4307b5a1bc..67f7343c98 100644 --- a/backends/platform/android/texture.h +++ b/backends/platform/android/texture.h @@ -224,6 +224,18 @@ public: } }; +// RGBA8888 texture +class GLES8888Texture : public GLESTexture { +public: + GLES8888Texture(); + virtual ~GLES8888Texture(); + + static inline Graphics::PixelFormat pixelFormat() { + // We assume LE since all Android platforms are LE. + return Graphics::PixelFormat(4, 8, 8, 8, 8, 0, 8, 16, 24); + } +}; + class GLESFakePaletteTexture : public GLESBaseTexture { protected: GLESFakePaletteTexture(GLenum glFormat, GLenum glType, |