mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibGL: Implement GL_LINEAR_MIPMAP_NEAREST
support
This commit is contained in:
parent
ccf6769d95
commit
b2e75929f4
Notes:
sideshowbarker
2024-07-17 22:08:30 +09:00
Author: https://github.com/gmta
Commit: b2e75929f4
Pull-request: https://github.com/SerenityOS/serenity/pull/11397
1 changed files with 4 additions and 0 deletions
|
@ -2807,6 +2807,10 @@ void SoftwareGLContext::sync_device_sampler_config()
|
|||
config.texture_min_filter = SoftGPU::TextureFilter::Nearest;
|
||||
config.mipmap_filter = SoftGPU::MipMapFilter::Nearest;
|
||||
break;
|
||||
case GL_LINEAR_MIPMAP_NEAREST:
|
||||
config.texture_min_filter = SoftGPU::TextureFilter::Nearest;
|
||||
config.mipmap_filter = SoftGPU::MipMapFilter::Linear;
|
||||
break;
|
||||
case GL_NEAREST_MIPMAP_LINEAR:
|
||||
config.texture_min_filter = SoftGPU::TextureFilter::Linear;
|
||||
config.mipmap_filter = SoftGPU::MipMapFilter::Nearest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue