vtest: create renderer earlier

macos/master
Dave Airlie 10 years ago
parent f8a2c57692
commit 020b8307e1
  1. 4
      vtest/vtest_server.c

@ -84,12 +84,12 @@ int main(void)
new_fd = wait_for_socket_accept(sock);
vtest_create_renderer(new_fd);
again:
ret = wait_for_socket_read(new_fd);
if (ret < 0)
goto err;
vtest_create_renderer(new_fd);
ret = read(new_fd, &header, sizeof(header));
if (ret == 8) {

Loading…
Cancel
Save