View Full Version : how to draw in opengl frame on device context whitout using opengl routine ?

09-06-2000, 05:35 AM
I find a way for draw on opengl frame,
witch my routine

ex: putpixel(frame, cx, cy, color)

whitout using opengl routine.

or know the device context structure in memory.

Sorry for my bad english.

09-06-2000, 08:24 PM


09-06-2000, 10:57 PM
This is why you use a driver, to solve the problem with chip-specific instructions required to place a pixel on the screen. And the framebuffer resides in the videomemory, and you are generally not allowed to poke there.

But of course, you can always look into your drivers and see how they do it (IF you fint it), but then the code will be chip-specific and not being able to run on other chips.