Re: Svgalib in 640x480x16 mode ??

Search this archive.

From: Matan Ziv-Av (zivav@CS.bgu.ac.il)
Date: Wed 16 Jun 1999 - 11:11:57 IDT


> Hello,
> I will use svgalib for my application. In this moment I use 320x200x256
> mode. But for my final application I need 640x480x16 or 640x480x256.
> 
> When I change to this mode, I will get an svgalib-error.

According to the testgl.c demo source, gl can't draw directly to the
screen in 16 colors or X modes. You must use virtual contexts. The man
page only says that about mode-X, but apparently its true for 16 color
modes as well.



-- 
Matan Ziv-Av                          matan@svgalib.org


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST