Is it possible for multiple display targets to exist at the same time?
For example, can we run the clanGDI and clanGL at the same time?
Looking at the source, i cannot see how this would be possible.
If it is possible, an example would be nice![]()
Is it possible for multiple display targets to exist at the same time?
For example, can we run the clanGDI and clanGL at the same time?
Looking at the source, i cannot see how this would be possible.
If it is possible, an example would be nice![]()
Theoretically you can, although you will probably be the first to actually try it out in practice.
To use multiple targets, you initialize both targets and then set the target active using CL_DisplayTarget. Any object (CL_DisplayWindow, CL_Texture, etc) created while a target is active will belong to that target. You cannot mix objects between targets though - so a CL_Texture created while the GDI target is active will only function on the GDI target and not the OpenGL target.
Bookmarks