]> git.sesse.net Git - movit/blobdiff - resource_pool.cpp
Add missing format LUMINANCE8.
[movit] / resource_pool.cpp
index bfd53061f2309a41285bcc81252e88418b6dd209..e5f8988fc999b51449191b22768dcb341f936583 100644 (file)
@@ -144,6 +144,9 @@ GLuint ResourcePool::create_2d_texture(GLint internal_format, GLsizei width, GLs
        case GL_RG16F:
                format = GL_RG;
                break;
+       case GL_LUMINANCE8:
+               format = GL_LUMINANCE;
+               break;
        default:
                // TODO: Add more here as needed.
                assert(false);