I have been playing around doing some simple raw graphics with photon.
Drawing directly into a window is fine but when I try bypass mode I get no errors from PdCreateDirectContext() and PdDirectStart(), yet any subsequent drawing to this context is not displayed.
Is this feature functionable - or the examples given in the documentaion somewhat lacking?
Also in the documentation there is a function PdGetDevices() - yet I grepped through the includes yet could not find…
Cheers,
Richard.
It is working now - by experimenting I have found you have to call PtAppInit() first.
Cheers,
Richard.
Previously, Richard wrote in qdn.public.qnxrtp.photon:
I have been playing around doing some simple raw graphics with photon.
Drawing directly into a window is fine but when I try bypass mode I get no errors from PdCreateDirectContext() and PdDirectStart(), yet any subsequent drawing to this context is not displayed.
Is this feature functionable - or the examples given in the documentaion somewhat lacking?
Also in the documentation there is a function PdGetDevices() - yet I grepped through the includes yet could not find…
Cheers,
Richard.