This commit is contained in:
Vincent Wei
2018-04-08 17:21:08 +08:00
parent f4486140bc
commit dbe75d3ea1
2 changed files with 2 additions and 3 deletions

View File

@@ -169,8 +169,6 @@ BOOL Init2440Input (INPUT* input, const char* mdev, const char* mtype)
return FALSE;
}
printf ("In 2410 engine\n");
input->update_mouse = mouse_update;
input->get_mouse_xy = mouse_getxy;
input->set_mouse_xy = NULL;

View File

@@ -199,6 +199,8 @@ static int COMMLCD_VideoInit(_THIS, GAL_PixelFormat *vformat)
static GAL_Surface *COMMLCD_SetVideoMode(_THIS, GAL_Surface *current,
int width, int height, int bpp, Uint32 flags)
{
Uint32 Rmask = 0, Gmask = 0, Bmask = 0, Amask = 0;
struct commlcd_info li;
if (__mg_commlcd_ops.getinfo (&li)) {
fprintf (stderr, "NEWGAL>COMMLCD: "
@@ -213,7 +215,6 @@ static GAL_Surface *COMMLCD_SetVideoMode(_THIS, GAL_Surface *current,
memset (li.fb, 0, li.rlen * height);
Uint32 Rmask = 0, Gmask = 0, Bmask = 0, Amask = 0;
if (li.type == COMMLCD_TRUE_BGR565) {
Bmask = 0xF800;
Gmask = 0x07E0;