summaryrefslogtreecommitdiff
path: root/gfx/gl/shader.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-01-23 19:20:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-01-23 19:20:10 +0000
commitaa3850946c9c3155fb7cabeeea3bcf99fbfd02d0 (patch)
tree135de68ab1813a0b562dfe7a3ef6bc40779c06f3 /gfx/gl/shader.cpp
parentAdd glDebugScope (diff)
downloadilt-glmax.tar.bz2
ilt-glmax.tar.xz
ilt-glmax.zip
Include GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS in networkCurve output calcglmax
Diffstat (limited to 'gfx/gl/shader.cpp')
-rw-r--r--gfx/gl/shader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/gl/shader.cpp b/gfx/gl/shader.cpp
index 9a4c270..21edadb 100644
--- a/gfx/gl/shader.cpp
+++ b/gfx/gl/shader.cpp
@@ -16,8 +16,9 @@ namespace {
}
using LookUpFunction = std::string (*)(GLenum);
- constexpr std::array<std::tuple<std::string_view, GLenum, LookUpFunction>, 1> LOOKUPS {{
+ constexpr std::array<std::tuple<std::string_view, GLenum, LookUpFunction>, 2> LOOKUPS {{
{"GL_MAX_GEOMETRY_OUTPUT_VERTICES", GL_MAX_GEOMETRY_OUTPUT_VERTICES, getInt},
+ {"GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS", GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS, getInt},
}};
struct ShaderCompileError : public MsgException<std::invalid_argument> {