[Mesa-dev] [RFC 4/7] eglplatform.h: warn when the user hasn't provided a known platform

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 22 08:38:09 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

---
 include/EGL/eglplatform.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
index 16765fb..dc4a3e2 100644
--- a/include/EGL/eglplatform.h
+++ b/include/EGL/eglplatform.h
@@ -133,6 +133,7 @@ typedef Pixmap   EGLNativePixmapType;
 typedef Window   EGLNativeWindowType;
 
 #else
+#warning "No known EGL_USE_PLATFORM_*_KHR is provided."
 
 /* Fallback to autodetection of the current platform */
 
-- 
2.9.3



More information about the mesa-dev mailing list