From: Steinar H. Gunderson Date: Tue, 21 Jan 2014 20:41:57 +0000 (+0100) Subject: Add missing format LUMINANCE8. X-Git-Tag: 1.0~72 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=c1118618a82c0b3b2e7c87ee74fa3c82c5b5754a Add missing format LUMINANCE8. --- diff --git a/resource_pool.cpp b/resource_pool.cpp index bfd5306..e5f8988 100644 --- a/resource_pool.cpp +++ b/resource_pool.cpp @@ -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);