PDA

View Full Version : drawing to memory instead of a window



03-09-2003, 03:38 AM
hey,

i'm using glfw, and i want to know
if there is a way i can draw to a
buffer in memory only, without even
opening a window...

thanks

mikael_aronsson
03-09-2003, 06:54 AM
Hi !

I have no idea about glfw, but you can create a context attached to a bitmap instead of a window if yoy want to, check the options for wglCreateContext, I think you can do the same on X.

Some video hardware also support this, pbuffer for example, but then you have to make sure that the hardware support it.

Mikael