message: Change the logic a little bit
diff: @@ -898,7 +898,6 @@ fn sync_primitive_restart_index(ctxt: &mut context::CommandContext,
  {
  // TODO: use GL_PRIMITIVE_RESTART (if possible) if
  // GL_PRIMITIVE_RESTART_FIXED_INDEX is not supported
  - if enabled {
  if ctxt.version >= &Version(Api::Gl, 3, 1) || ctxt.version >= &Version(Api::GlEs, 3, 0) ||
  ctxt.extensions.gl_arb_es3_compatibility
  {
  @@ -911,9 +910,11 @@ fn sync_primitive_restart_index(ctxt: &mut context::CommandContext,
  }
  } else {
  + if enabled {
  return Err(DrawError::FixedIndexRestartingNotSupported);
  }
  }
  +
  Ok(())
  }
  