mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00
LibGL+LibGPU+LibSoftGPU: Implement GL_GENERATE_MIPMAP
We can now generate texture mipmaps on the fly if the client requests it. This fixes the missing textures in our PrBoom+ port.
This commit is contained in:
parent
dda5987684
commit
1540c56e6c
10 changed files with 148 additions and 82 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
virtual bool is_texture_3d() const { return false; }
|
||||
virtual bool is_cube_map() const { return false; }
|
||||
|
||||
RefPtr<GPU::Image> device_image() const { return m_device_image; }
|
||||
RefPtr<GPU::Image> device_image() { return m_device_image; }
|
||||
void set_device_image(RefPtr<GPU::Image> image) { m_device_image = image; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue