From: Jason Alexander Newsgroups: comp.os.msdos.djgpp Subject: How to get 800x600 resolution? Date: Thu, 05 Feb 1998 15:06:48 -0800 Organization: University of California, Irvine Lines: 32 Message-ID: <34DA4608.F0B0D0D1@ea.oac.uci.edu> NNTP-Posting-Host: pv1821.pv.reshsg.uci.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk As my question indicates, I'm puzzled on how to obtain 800x600 resolution using the grx22 libraries. I thought using GrSetMode(GR_width_height_graphics, 800,600) would give the desired effect, but when I ran a simple program containing the following lines: GrHLine(0,800, 0, GrWhite()); GrHLine(0,750,10, GrWhite()); both lines appeared to be the same length (from which I infer that I have not, in fact, obtained 800x600 resolution). Am I not calling the appropriate functions to place my computer in the desired graphics mode, or does this mean that the standard video drivers included with grx22 are not compatible with my video card? In place of GrSetMode(GR_width_height_graphics, 800, 600), I've also tried GrSetMode(GR_biggest_graphics) and GrSetMode(GR_width_height_color_graphics,...) with no success. Any advice would be greatly appreciated. I've read grx20.doc and some of the .h files in /djgpp/contrib/grx22/..., but can't make any progress on what I'm doing wrong. Thanks, Jason