Skip to content

Commit 8ef886d

Browse files
author
bors-servo
authored
Auto merge of #3121 - jyavenard:1493198_2, r=gw3583
Fix 10/12 bits rendering on GLES3 (and core GL3+). <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3121) <!-- Reviewable:end -->
2 parents 489d67c + b662e68 commit 8ef886d

File tree

1 file changed

+1
-1
lines changed
  • webrender/src/device

1 file changed

+1
-1
lines changed

webrender/src/device/gl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ impl Device {
22232223
pixel_type: gl::UNSIGNED_BYTE,
22242224
},
22252225
ImageFormat::R16 => FormatDesc {
2226-
internal: gl::RED as _,
2226+
internal: gl::R16 as _,
22272227
external: gl::RED,
22282228
pixel_type: gl::UNSIGNED_SHORT,
22292229
},

0 commit comments

Comments
 (0)