aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/egl/drivers/dri2/platform_android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index d949ed4..07b5534 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -1504,7 +1504,7 @@ droid_open_device(_EGLDisplay *disp, bool swrast)
#ifdef EGL_FORCE_RENDERNODE
const unsigned node_type = DRM_NODE_RENDER;
#else
- const unsigned node_type = swrast ? DRM_NODE_PRIMARY : DRM_NODE_RENDER;
+ const unsigned node_type = DRM_NODE_RENDER;
#endif
if (property_get("drm.gpu.vendor_name", vendor_buf, NULL) > 0)