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:
parent
e0fef60241
commit
b9523e15df
6 changed files with 95 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue