1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

LibGL: Use Texture Units in Rasterizer and Context

The Context and Software Rasterizer now gets the array of texture units
instead of a single texture object. _Technically_, we now support some
primitive form of multi-texturing, though I'm not entirely sure how well
it will work in its current state.
This commit is contained in:
Jesse Buhagiar 2021-05-30 21:39:31 +10:00 committed by Linus Groh
parent 573c1c82f7
commit 8298e406a4
5 changed files with 38 additions and 27 deletions

View file

@ -131,8 +131,6 @@ private:
GLenum m_current_read_buffer = GL_BACK;
GLuint m_bound_texture_2d = 0;
NonnullRefPtr<Gfx::Bitmap> m_frontbuffer;
Clipper m_clipper;