[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL question

> does anybody knows if and how can I do a thing like
> this in OpenGL?
>   unsigned char* pA000 = vga_getgraphmem();
>   pA000[pos] = color;
> With svgalib i can do this, but in OpenGL? Is there
> a way to access the screen like an array (not only 320x200,
> but also 640x480, etc.)

No. The frame buffer is usualy located in video memory which you can't
access directly.


Powiedz sobie dobre "Dzien dobry"! >>> http://link.interia.pl/f168b