mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Properly support PACK_ALIGNMENT in WebGL 1
This commit is contained in:
parent
7fc8899e44
commit
d5f3b211ba
4 changed files with 527 additions and 651 deletions
|
@ -533,7 +533,6 @@ parameters! {
|
|||
FrontFace = gl::FRONT_FACE,
|
||||
GenerateMipmapHint = gl::GENERATE_MIPMAP_HINT,
|
||||
GreenBits = gl::GREEN_BITS,
|
||||
PackAlignment = gl::PACK_ALIGNMENT,
|
||||
RedBits = gl::RED_BITS,
|
||||
SampleBuffers = gl::SAMPLE_BUFFERS,
|
||||
Samples = gl::SAMPLES,
|
||||
|
@ -554,7 +553,6 @@ parameters! {
|
|||
StencilValueMask = gl::STENCIL_VALUE_MASK,
|
||||
StencilWritemask = gl::STENCIL_WRITEMASK,
|
||||
SubpixelBits = gl::SUBPIXEL_BITS,
|
||||
UnpackAlignment = gl::UNPACK_ALIGNMENT,
|
||||
}),
|
||||
Int2(ParameterInt2 {
|
||||
MaxViewportDims = gl::MAX_VIEWPORT_DIMS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue