Report all messages processed by the webgl thread.

This commit is contained in:
Josh Matthews 2019-01-31 14:55:25 -05:00
parent f3f20e6c35
commit 25a61f3783
3 changed files with 36 additions and 6 deletions

View file

@ -708,7 +708,7 @@ impl WebGLRenderingContext {
alpha_treatment,
y_axis_treatment,
pixel_format: pixels.pixel_format,
data: pixels.data,
data: pixels.data.into(),
});
if let Some(fb) = self.bound_framebuffer.get() {
@ -783,7 +783,7 @@ impl WebGLRenderingContext {
alpha_treatment,
y_axis_treatment,
pixel_format: pixels.pixel_format,
data: pixels.data,
data: pixels.data.into(),
});
}