summaryrefslogtreecommitdiff
path: root/Userland/Demos/VirGLDemo/VirGLDemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Demos/VirGLDemo/VirGLDemo.cpp')
-rw-r--r--Userland/Demos/VirGLDemo/VirGLDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/VirGLDemo/VirGLDemo.cpp b/Userland/Demos/VirGLDemo/VirGLDemo.cpp
index 3535055f64..a653f59bd2 100644
--- a/Userland/Demos/VirGLDemo/VirGLDemo.cpp
+++ b/Userland/Demos/VirGLDemo/VirGLDemo.cpp
@@ -134,7 +134,7 @@ static Vector<VertexData> gen_vertex_data()
static void init()
{
// Open the device
- gpu_fd = open("/dev/gpu0", O_RDWR);
+ gpu_fd = open("/dev/gpu/render0", O_RDWR);
VERIFY(gpu_fd >= 0);
// Create a virgl context for this file descriptor
VERIFY(ioctl(gpu_fd, VIRGL_IOCTL_CREATE_CONTEXT) >= 0);