delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/04/11:17:02

From: buffalo276 AT aol DOT com (Buffalo276)
Newsgroups: comp.os.msdos.djgpp
Subject: putpixel
Lines: 30
NNTP-Posting-Host: ladder06.news.aol.com
X-Admin: news AT aol DOT com
Date: 04 May 2000 14:31:11 GMT
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
Message-ID: <20000504103111.10456.00001267@ng-bh1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019