summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_android.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-08-25 12:15:13 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-08-30 14:50:10 +0100
commit03eaa6c5969d3eb87112d96a0e33b4eb46bf9f5a (patch)
tree040ee35373313efd8db796aca0c0daecc268f1d4 /src/egl/drivers/dri2/platform_android.c
parent4472b6e46985d0e80bdcf385f9dde542daeb5c55 (diff)
downloadexternal_mesa3d-03eaa6c5969d3eb87112d96a0e33b4eb46bf9f5a.zip
external_mesa3d-03eaa6c5969d3eb87112d96a0e33b4eb46bf9f5a.tar.gz
external_mesa3d-03eaa6c5969d3eb87112d96a0e33b4eb46bf9f5a.tar.bz2
egl/dri2: check if the EGL API is valid before adding it to ClientAPIs
In the rather unlikely case that the API is considered invalid, don't add it to the (supported) ClientAPIs bitmask. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> --- Strictly speaking we only need this in the Android case for OpenGL. Adding it everywhere doesn't hurt us since the compiler will const propagate and optimise/remove these.
Diffstat (limited to 'src/egl/drivers/dri2/platform_android.c')
0 files changed, 0 insertions, 0 deletions