Skip to content

Commit b662e68

Browse files
author
Jean-Yves Avenard
committed
Fix 10/12 bits rendering on GLES3 (and core GL3+).
1 parent 9a17291 commit b662e68

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

webrender/src/device/gl.rs

Lines changed: 1 addition & 1 deletion
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)