mirror of
https://github.com/glfw/glfw.git
synced 2026-01-15 02:25:31 +00:00
poopy
This commit is contained in:
parent
dfe0c3555f
commit
7adc3c6c42
@ -1060,7 +1060,10 @@ void _glfwSetWindowIconCocoa(_GLFWwindow* window,
|
|||||||
{
|
{
|
||||||
/*_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
|
/*_glfwInputError(GLFW_FEATURE_UNAVAILABLE,
|
||||||
"Cocoa: Regular windows do not have icons on macOS");*/
|
"Cocoa: Regular windows do not have icons on macOS");*/
|
||||||
__CocoaSetDockIcon(); // TODO: IMPLEMENT
|
if (count >= 1) {
|
||||||
|
const GLFWimage poopy = images[0];
|
||||||
|
__CocoaSetDockIcon(poopy.pixels, poopy.width, poopy.height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void _glfwGetWindowPosCocoa(_GLFWwindow* window, int* xpos, int* ypos)
|
void _glfwGetWindowPosCocoa(_GLFWwindow* window, int* xpos, int* ypos)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user