gles2: Fix `import_bitmap` resulting in black textures

This commit is contained in:
Victor Brekenfeld 2021-05-17 19:08:13 +02:00
parent 5e1128b973
commit ae6334d376
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ impl Renderer for Gles2Renderer {
let texture = Gles2Texture(Rc::new(Gles2TextureInternal {
texture: tex,
texture_kind: 2,
texture_kind: 0,
is_external: false,
y_inverted: false,
width: image.width(),