View Full Version : Use a pbuffer as texture while rendering in another pbuffer

11-11-2003, 01:40 AM
i have written a library to do rendering in a texture but i have noticed a strange thing. When i do a rendering in a texture(pbuffer) and i use another pbuffer as texture(not the same pbuffer) but it doesn't work.
Is there a limitation to use a pbuffer as framebuffer while i use another pbuffer as texture?

Thank you.

[This message has been edited by EpSiLoN (edited 11-11-2003).]

11-11-2003, 02:17 AM
It doesn't work

Sounds like a user.

Are you calling wglShareLists()?

11-11-2003, 02:47 AM
No, i don't call wglShareLists().

11-11-2003, 03:48 PM
Well that's most likely your problem. A texture in one context is not valid in another context unless you call wglShareLists() (or it's *nix/Mac equivalent I presume).