From: bukinm AT inp DOT nsk DOT su (Michael Bukin) Newsgroups: comp.os.msdos.djgpp Subject: Re: GRX context problem. Date: Sun, 27 Apr 1997 02:49:58 GMT Organization: BINP SD RAS Message-ID: <3363be65.2947211@news-win.inp.nsk.su> References: <5jta4p$gce AT lion DOT cs DOT latrobe DOT edu DOT au> Reply-To: bukinm AT inp DOT nsk DOT su NNTP-Posting-Host: csd-bsdi.inp.nsk.su Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 26 Apr 1997 16:22:49 GMT, boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles) wrote: > Can some body please explain to me why the #$%^ this program fails to put > anything on the screen. I am so god damned frustrated with this! > If I comment out the marked lines it works fine. But what the hell is the > use of memory contexts if you can never see them????? > > GrContext *Context=GrCreateContext(1024,768,NULL,NULL); > * GrSetContext(Context); GrClearContext (GrBlack ()); > GrFilledCircle(500,300,500,color); > * GrBitBlt(NULL,100,100,Context,100,100,200,200,GrWRITE); ^^^^ GrScreenContext ()