Add GLFW_COCOA_RETINA_FRAMEBUFFER

Look, a can of worms!  I wonder what's inside.

This adds the first platform specific window hint, transforming
a compile-time option to a run-time per-window one.
This commit is contained in:
Camilla Löwy
2016-12-07 00:41:54 +01:00
parent 766a9dc9fd
commit 58ceab5f1e
10 changed files with 32 additions and 22 deletions
+3
View File
@@ -264,6 +264,9 @@ struct _GLFWwndconfig
GLFWbool autoIconify;
GLFWbool floating;
GLFWbool maximized;
struct {
GLFWbool retina;
} ns;
};
/*! @brief Context configuration.