1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 12:23:46 +03:00

fix panic when egl doesn't have OPENGL_API

refs: #566
This commit is contained in:
Wez Furlong 2021-03-21 20:51:02 -07:00
parent a7c9d9123b
commit a5f4803b0b

View File

@ -293,9 +293,9 @@ impl RenderState {
let buffer = TripleVertexBuffer { let buffer = TripleVertexBuffer {
index: 0, index: 0,
bufs: [ bufs: [
VertexBuffer::persistent(context, &verts)?, VertexBuffer::dynamic(context, &verts)?,
VertexBuffer::persistent(context, &verts)?, VertexBuffer::dynamic(context, &verts)?,
VertexBuffer::persistent(context, &verts)?, VertexBuffer::dynamic(context, &verts)?,
], ],
}; };