1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-28 07:55:03 +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 {
index: 0,
bufs: [
VertexBuffer::persistent(context, &verts)?,
VertexBuffer::persistent(context, &verts)?,
VertexBuffer::persistent(context, &verts)?,
VertexBuffer::dynamic(context, &verts)?,
VertexBuffer::dynamic(context, &verts)?,
VertexBuffer::dynamic(context, &verts)?,
],
};