From c1118618a82c0b3b2e7c87ee74fa3c82c5b5754a Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 21 Jan 2014 21:41:57 +0100 Subject: [PATCH] Add missing format LUMINANCE8. --- resource_pool.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2