OSDN Git Service

mesa_glinterop: remove inclusion of GLX header
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 3 May 2016 11:25:34 +0000 (12:25 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 May 2016 22:03:00 +0000 (23:03 +0100)
commit8472045b16b3e4621553fe451a20a9ba9f0d44b6
treeea41dc20c35022d24cdf067426fdfba3690f8ef9
parentb5f9820d905a275bc01bbffa9b4927ec11286f8d
mesa_glinterop: remove inclusion of GLX header

Since we only need partial information about the GLX symbols we can
forward declare them and drop the include. Obviously each user of the
said API will needs more than what's provides, so they'll include the
GLX header.

If they don't, the compiler will give us a nice warning ;-)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
include/GL/mesa_glinterop.h