ソースを参照

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.
  *
+ *  @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
  *  synchronized.
  *