egl: Cleanly cast EGLNative* pointers to X11 types.
authorEric Anholt <eric@anholt.net>
Tue, 25 Sep 2012 17:09:12 +0000 (10:09 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 9 Oct 2012 21:32:01 +0000 (14:32 -0700)
commit31c7d4ec188b6f25a23a3eb9a3e05e103792aa4d
tree6d955a4b00038649294e4d560e0a640216ad7c29
parent11e08f42e4fa5f1d296429415be6da7c03f105b0
egl: Cleanly cast EGLNative* pointers to X11 types.

The EGLNative* types are all defined to be pointers across all our EGL
implementations, but in the X11 platform they're actually just XIDs (32-bit
integers).

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/drivers/dri2/platform_x11.c