-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't set an app/window icon to be an svg. #1196
Comments
Really not sure if this actually is a bug, or if this should be a feature request. |
Maybe it’s both? :) |
Hi @andydotxyz Is anyone working on the issue if not can I take it up After spending some time with code I found the issue is located at Secondly I am not sure if this is a issue or not |
I don't think anyone is working on this thanks @ChandanChainani
GLFW requires internally that this data is PNG, so we would need to rasterise the SVG into an image and export it as a PNG sending the []bytes instead of the SVG. There is an SVG renderer that could be re-used, it's in one of the internal packages.
That is not an issue, it's like defer - called for many different reasons once a window is created |
Describe the bug:
Tried to set the icon for the main app to be an svg image. Program will run but an error is thrown.
I can display the svg image in the main window using the same resource so I should be able to use it as the main icon.
To Reproduce:
Screenshots:
Along with the console log:
Example code:
-->
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: