diff options
Diffstat (limited to 'components/canvas/gl_context.rs')
-rw-r--r-- | components/canvas/gl_context.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/canvas/gl_context.rs b/components/canvas/gl_context.rs index b8168753fa4..66fd3001277 100644 --- a/components/canvas/gl_context.rs +++ b/components/canvas/gl_context.rs @@ -158,15 +158,16 @@ impl GLContextWrapper { pub fn apply_command( &self, cmd: WebGLCommand, + use_apple_vertex_array: bool, backtrace: WebGLCommandBacktrace, state: &mut GLState, ) { match *self { GLContextWrapper::Native(ref ctx) => { - WebGLImpl::apply(ctx, state, cmd, backtrace); + WebGLImpl::apply(ctx, state, use_apple_vertex_array, cmd, backtrace); }, GLContextWrapper::OSMesa(ref ctx) => { - WebGLImpl::apply(ctx, state, cmd, backtrace); + WebGLImpl::apply(ctx, state, false, cmd, backtrace); }, } } |