mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibSoftGPU: Announce NPOT texture support via DeviceInfo struct
This commit is contained in:
parent
0367893e53
commit
5505f353e8
Notes:
sideshowbarker
2024-07-17 20:39:29 +09:00
Author: https://github.com/sunverwerth
Commit: 5505f353e8
Pull-request: https://github.com/SerenityOS/serenity/pull/11927
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 0 deletions
|
@ -605,6 +605,7 @@ DeviceInfo Device::info() const
|
|||
.num_texture_units = NUM_SAMPLERS,
|
||||
.num_lights = NUM_LIGHTS,
|
||||
.stencil_bits = sizeof(u8) * 8,
|
||||
.supports_npot_textures = true,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue