mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 10:21:57 +08:00
cleanup
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user