Hi! I need texturing a cube with my desktop. That is: how could I create a texture for a quad in OGL starting width a bitmap in a hdc context ?
I''ve tried copying my desktop in the clipboard and then texturing a quad, after resizing it into ^2, but nothing to do :the quad is black. I''ve tried with creating a bitmap this way (kind of...):
The texture is very weird and it change in real time.
I know the code is weird and the question may sound stupid, but i''m so tired...
Thanks in advance.
Write to LuchiLuchi@Hotmail.com