mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
LibGL: Turn Sampler2D into an actual class
This extracts the sampler functionality into its own class. Beginning with OpenGL 3 samplers are actual objects, separate from textures. It makes sense to do this already as it also cleans up code organization quite a bit.
This commit is contained in:
parent
fdde19d616
commit
12785849aa
7 changed files with 164 additions and 49 deletions
|
@ -1,5 +1,6 @@
|
|||
set(SOURCES
|
||||
Tex/NameAllocator.cpp
|
||||
Tex/Sampler2D.cpp
|
||||
Tex/Texture2D.cpp
|
||||
Tex/TextureUnit.cpp
|
||||
Clipper.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue