mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-08 01:15:56 +01:00
bug fixes, performance enhancement for image rendering
This commit is contained in:
@@ -714,7 +714,10 @@ wScreenInit(int screen_number)
|
||||
|
||||
/* screen descriptor for raster graphic library */
|
||||
rattr.flags = RC_RenderMode | RC_ColorsPerChannel;
|
||||
rattr.render_mode = wPreferences.no_dithering?RM_MATCH:RM_DITHER;
|
||||
rattr.render_mode = wPreferences.no_dithering
|
||||
? RBestMatchRendering
|
||||
: RDitheredRendering;
|
||||
|
||||
rattr.colors_per_channel = wPreferences.cmap_size;
|
||||
if (rattr.colors_per_channel<2)
|
||||
rattr.colors_per_channel = 2;
|
||||
|
||||
Reference in New Issue
Block a user