mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Add support for WebGL2 MIN_PROGRAM_TEXEL_OFFSET
Improves the support of the WebGL2 `MIN_PROGRAM_TEXEL_OFFSET` property (ie. stores it as a signed integer) and adds support for querying it using GetParameter. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
This commit is contained in:
parent
ff33b88f72
commit
1431a389da
4 changed files with 14 additions and 8 deletions
|
@ -1057,7 +1057,7 @@ pub struct GLLimits {
|
|||
pub max_draw_buffers: u32,
|
||||
pub max_color_attachments: u32,
|
||||
pub max_uniform_buffer_bindings: u32,
|
||||
pub min_program_texel_offset: u32,
|
||||
pub min_program_texel_offset: i32,
|
||||
pub max_program_texel_offset: u32,
|
||||
pub max_uniform_block_size: u64,
|
||||
pub max_combined_uniform_blocks: u32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue