mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibGL+LibGPU+LibSoftGPU: Report texture clamp to edge support
This commit is contained in:
parent
087f565700
commit
1aa1c89afa
Notes:
sideshowbarker
2024-07-17 07:15:16 +09:00
Author: https://github.com/gmta
Commit: 1aa1c89afa
Pull-request: https://github.com/SerenityOS/serenity/pull/15150
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/sunverwerth ✅
3 changed files with 5 additions and 0 deletions
|
@ -926,6 +926,9 @@ void GLContext::build_extension_string()
|
|||
if (m_device_info.num_texture_units > 1)
|
||||
extensions.append("GL_ARB_multitexture"sv);
|
||||
|
||||
if (m_device_info.supports_texture_clamp_to_edge)
|
||||
extensions.append("GL_EXT_texture_edge_clamp"sv);
|
||||
|
||||
if (m_device_info.supports_texture_env_add) {
|
||||
extensions.append("GL_ARB_texture_env_add"sv);
|
||||
extensions.append("GL_EXT_texture_env_add"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue