@@ -18,13 +18,12 @@ static struct {
Pixel *bitmap_bits;
Pixel *buffer_bits;
Pixel *alloced_bits;
HPALETTE gdi_palette;
int width,height;
int width_org, height_org;
bool cursor_visible;
bool switch_driver;
bool fullscreen;
bool double_size;
bool has_focus;
bool running;
} _wnd;
@@ -629,13 +628,12 @@ static void FindResolutions(void)
}
static const char *Win32GdiStart(const char * const *parm)
{
memset(&_wnd, 0, sizeof(_wnd));
_wnd.cursor_visible = true;
RegisterWndClass();
MakePalette();
FindResolutions();