(w32_term_init): Don't initialize the image cache here; it will be

done in init_frame_faces.
This commit is contained in:
Chong Yidong
2008-12-13 05:40:29 +00:00
parent 20d68145d2
commit bb9038ffc0

View File

@@ -6204,7 +6204,6 @@ w32_term_init (display_name, xrm_option, resource_name)
dpyinfo->resx = GetDeviceCaps (hdc, LOGPIXELSX);
dpyinfo->resy = GetDeviceCaps (hdc, LOGPIXELSY);
dpyinfo->has_palette = GetDeviceCaps (hdc, RASTERCAPS) & RC_PALETTE;
dpyinfo->terminal->image_cache = make_image_cache ();
ReleaseDC (GetDesktopWindow (), hdc);
/* initialise palette with white and black */