From a8eef28708aad83c7364c7e86391aab39044ab8f Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 19 Oct 2022 12:20:06 +0200 Subject: [PATCH] glgsg: Fix error when downloading luminance8 texture --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index fc304d8a96..24bd54134d 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -14460,6 +14460,7 @@ do_extract_texture_data(CLP(TextureContext) *gtc) { break; case GL_LUMINANCE: #ifndef OPENGLES + case GL_LUMINANCE8_EXT: case GL_LUMINANCE16: case GL_LUMINANCE16F_ARB: #endif