ENH: Use entt

This commit is contained in:
David Allemang
2023-02-04 21:20:53 -05:00
parent 65e4960f09
commit e792e93eb9
5 changed files with 145 additions and 174 deletions

View File

@@ -83,11 +83,5 @@ namespace cgl {
glUseProgramStages(id, GL_COMPUTE_SHADER_BIT, pgm);
return *this;
}
void bound(const std::function<void()> &action) const {
glBindProgramPipeline(id);
action();
glBindProgramPipeline(0);
}
};
}