From: boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles) Newsgroups: comp.os.msdos.djgpp Subject: GRX context problem. Date: 26 Apr 1997 16:22:49 GMT Organization: Comp.Sci & Comp.Eng, La Trobe Uni, Australia Lines: 20 Distribution: world Message-ID: <5jta4p$gce@lion.cs.latrobe.edu.au> NNTP-Posting-Host: lion.cs.latrobe.edu.au To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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????? #include #include #include void main() { GrSetDriver("VESA"); GrSetMode(GR_width_height_color_graphics,1024,768,256); long color=GrAllocColor(200,240,34); GrContext *Context=GrCreateContext(1024,768,NULL,NULL); * GrSetContext(Context); GrFilledCircle(500,300,500,color); * GrBitBlt(NULL,100,100,Context,100,100,200,200,GrWRITE); cin.get(); }