1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:27:43 +00:00

LibGL+LibGPU+LibSoftGPU: Report maximum texture size

This commit is contained in:
cflip 2022-10-16 16:31:15 -06:00 committed by Linus Groh
parent 04ae4b89a3
commit abc0c44f0b
6 changed files with 27 additions and 17 deletions

View file

@ -801,6 +801,7 @@ GPU::DeviceInfo Device::info() const
.num_texture_units = GPU::NUM_TEXTURE_UNITS,
.num_lights = NUM_LIGHTS,
.max_clip_planes = MAX_CLIP_PLANES,
.max_texture_size = MAX_TEXTURE_SIZE,
.max_texture_lod_bias = MAX_TEXTURE_LOD_BIAS,
.stencil_bits = sizeof(GPU::StencilType) * 8,
.supports_npot_textures = true,