Help in c/c++

Started by
5 comments, last by pulpfist 17 years, 8 months ago
im using DJGPP and need to use 32 bit color and set pixles straight to viedo card mem can any1 help?
Advertisement
What exactly do you mean? Could you be more specific?
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!!!
maybe this article can help:
http://www.flipcode.com/articles/demomaking_issue02.shtml
Thks this is the best help i ever got on this site before ;)
There is a _putpixel32 function.
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