/usr/include/globjects/TransformFeedback.inl is in libglobjects-dev 1.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #pragma once
namespace globjects
{
template <std::size_t Count>
void TransformFeedback::setVaryings(const Program * program, const std::array<std::string, Count> & varyingNames, gl::GLenum bufferMode)
{
std::array<const char*, Count> c_ptrs;
for (size_t i = 0; i < Count; ++i)
{
c_ptrs[i] = varyingNames[i].c_str();
}
setVaryings(program, static_cast<gl::GLint>(Count), const_cast<const char**>(c_ptrs.data()), bufferMode);
}
} // namespace globjects
|