Help in c/c++
im using DJGPP and need to use 32 bit color and set pixles straight to viedo card mem can any1 help?
Quote:Original post by Thoover
im using DJGPP and need to use 32 bit color and set pixles straight to viedo card mem can any1 help?
You cannot send pixels straight to the video card, unless you write specific code for each video card (this would require driver-level knowledge).
If you intend to simply display things on the screen, use a graphics library such as SDL.
i need to have a way to use c/c++ to use graphics only thing i can do is 16 colors with the dos header file and i can only do chars i cant do pixels or higher color i dont want libs!!!
There is a _putpixel32 function.
Some more info here
Allegro examples
[Edited by - pulpfist on July 31, 2006 12:07:46 AM]
Some more info here
Allegro examples
[Edited by - pulpfist on July 31, 2006 12:07:46 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement