Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by vishal@Feb 20 2007, 08:51 PM i have not used microwin with nios, but on arm.
check the config file of microwindows if this is set correcty ...# #################################################################### # the pixeltype of the native hardware or underlying graphics library.# this definition defines the pixelval to be 32, 16 or 8 bits wide.# if using linux framebuffer, set to mwpf_truecolor0888, and use fbset.# it also enables gdarea/grarea for this particular pixel packing format.# # define mwpf_palette /* pixel is packed 8 bits 1, 4 or 8 pal index*/# define mwpf_truecolor8888 /* pixel is packed 32 bits 8/8/8/8 truecolor w/alpha*/# define mwpf_truecolor0888 /* pixel is packed 32 bits 8/8/8 truecolor*/# define mwpf_truecolor888 /* pixel is packed 24 bits 8/8/8 truecolor*/# define mwpf_truecolor565 /* pixel is packed 16 bits 5/6/5 truecolor*/# define mwpf_truecolor555 /* pixel is packed 16 bits 5/5/5 truecolor*/# define mwpf_truecolor332 /* pixel is packed 8 bits 3/3/2 truecolor*/# # ###################################################################
screen_pixtype = mwpf_truecolor888
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=21725)
--- quote end ---
--- Quote End --- yeah, I config "define MWPF_TRUECOLOR565" , then it works fine thx,vishal