On 23/03/14 04:53, Jonathan Gray wrote:
Don't hardcode /dev/dri/card0 but instead use the drm
macros which allows the correct /dev/drm0 device to be
opened on OpenBSD.
v2: use snprintf and fallback to /dev/dri/card0
suggested by Emil Velikov.
Signed-off-by: Jonathan Gray j...@jsg.id.au
On Tue, Apr 1, 2014 at 10:26 AM, Emil Velikov emil.l.veli...@gmail.com wrote:
On 23/03/14 04:53, Jonathan Gray wrote:
Don't hardcode /dev/dri/card0 but instead use the drm
macros which allows the correct /dev/drm0 device to be
opened on OpenBSD.
v2: use snprintf and fallback to
Don't hardcode /dev/dri/card0 but instead use the drm
macros which allows the correct /dev/drm0 device to be
opened on OpenBSD.
v2: use snprintf and fallback to /dev/dri/card0
suggested by Emil Velikov.
Signed-off-by: Jonathan Gray j...@jsg.id.au
---
src/egl/drivers/dri2/platform_drm.c | 6