render/egl: document that config may be zero

This commit is contained in:
Simon Ser 2021-01-09 11:19:25 +01:00
parent dd920f602e
commit 34b14d2fee
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -39,7 +39,7 @@ struct wlr_egl_context {
struct wlr_egl { struct wlr_egl {
EGLenum platform; EGLenum platform;
EGLDisplay display; EGLDisplay display;
EGLConfig config; EGLConfig config; // may be EGL_NO_CONFIG
EGLContext context; EGLContext context;
EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT