Mail Archives: djgpp/2000/05/04/11:17:02
Hy,
thanks for your help but the example, which some people wrote me
#include <allegro.h>
#include <conio.h> //getch
int main(void)
{
allegro_init();
set_color_depth(8);
if(!set_gfx_mode(GFX_AUTODETECT,640,480,0,0)) //nearly all systems support
{ printf("error entering gfx mode!"); //break on error
return(-1);
}
putpixel(screen,21,21,3);
getch();
return(0);
}
also don't work on my computer. I've got a ATI RAGE AGP graphic card, and rhide
tells me
Call Frame traceback
in function _putpixel+21
in function __crt_startup+178
sorry, but it's very important for me that it works
yannick
- Raw text -