1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:17:44 +00:00

LibGL: Implement glTexParameter{i,f}

This currently only implements a subset of this function.
Namely setting wrap, mag and min modes for the GL_TETXURE_2D target.
This commit is contained in:
Stephan Unverwerth 2021-08-11 22:09:18 +02:00 committed by Andreas Kling
parent e0fef60241
commit b9523e15df
6 changed files with 95 additions and 2 deletions

View file

@ -42,6 +42,7 @@ public:
GLenum internal_format() const { return m_internal_format; }
Sampler2D const& sampler() const { return m_sampler; }
Sampler2D& sampler() { return m_sampler; }
private:
template<typename TCallback>