فهرست منبع

Document delayed initialization of EGL display

Camilla Löwy 3 سال پیش
والد
کامیت
06089a91a6
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      include/GLFW/glfw3native.h

+ 3 - 0
include/GLFW/glfw3native.h

@@ -486,6 +486,9 @@ GLFWAPI struct wl_surface* glfwGetWaylandWindow(GLFWwindow* window);
  *
  *
  *  @errors Possible errors include @ref GLFW_NOT_INITIALIZED.
  *  @errors Possible errors include @ref GLFW_NOT_INITIALIZED.
  *
  *
+ *  @remark Because EGL is initialized on demand, this function will return
+ *  `EGL_NO_DISPLAY` until the first context has been created via EGL.
+ *
  *  @thread_safety This function may be called from any thread.  Access is not
  *  @thread_safety This function may be called from any thread.  Access is not
  *  synchronized.
  *  synchronized.
  *
  *