]> git.sesse.net Git - movit/commitdiff
Add missing format LUMINANCE8.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 21 Jan 2014 20:41:57 +0000 (21:41 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 21 Jan 2014 20:41:57 +0000 (21:41 +0100)
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);