mesa: replace some API_OPENGL_CORE checks with _mesa_is_desktop_gl
authorMarek Olšák <marek.olsak@amd.com>
Wed, 14 Feb 2018 20:19:33 +0000 (21:19 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 23 Feb 2018 19:50:22 +0000 (20:50 +0100)
commit1881f41b6c3fe6e68b76c561f33942657b135bc8
tree6966e6ec4c3d710b37cbd7199faf13d0c79b2ee9
parent1defc973db3266a0ae72097951d12f8d851fed9a
mesa: replace some API_OPENGL_CORE checks with _mesa_is_desktop_gl

This is more accurate with respect to the compatibility profile.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/get.c
src/mesa/main/varray.c
src/mesa/vbo/vbo_attrib_tmp.h