Replies: 1 comment
-
So if I understand correctly, you can't share resources between the windows. You are right that we only submit a single resource to the render interface per texture/geometry resource. Here are some suggestions to account for that in your situation:
Let me know if some of these are helpful, or if you find some other solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two windows and two Rml::Context
If I use the same font or image with the same src, solid-color rectangles are displayed instead of the text in the window that was created later. I understand that this is due to internal caching. Textures are created only once, and are not available in the second window handle.
What is the correct way to duplicate resources?
In fact, I can copy the image file under a different name, but Rml::LoadFontFace("...") seems to be a context-independent method
Beta Was this translation helpful? Give feedback.
All reactions