summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2014-04-03 16:22:26 +1100
committerEmil Velikov <[email protected]>2014-04-05 13:36:29 +0100
commitc973e440d5b4057d93b4ce1298da77c3449c9f33 (patch)
tree74d06e0824bcc84baa23ffa0fe1d457b3dd5293f /bin
parent81799c82e47b34db6eeca34113016d2d8389669d (diff)
egl/dri2: use drm macros to construct device name
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 v3: check for snprintf truncation Signed-off-by: Jonathan Gray <[email protected]> Cc: "10.1" <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions