Browse Source

Clarify undocumented platform errors

Camilla Löwy 8 năm trước cách đây
mục cha
commit
4928e2bf0a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/init.c

+ 1 - 1
src/init.c

@@ -67,7 +67,7 @@ static const char* getErrorString(int error)
         case GLFW_VERSION_UNAVAILABLE:
             return "The requested API version is unavailable";
         case GLFW_PLATFORM_ERROR:
-            return "A platform-specific error occurred";
+            return "An undocumented platform-specific error occurred";
         case GLFW_FORMAT_UNAVAILABLE:
             return "The requested format is unavailable";
         case GLFW_NO_WINDOW_CONTEXT: