update graphic driver interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1465 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2011-06-08 15:40:24 +00:00
parent a714392b70
commit 64517f05c5

View File

@ -721,7 +721,7 @@ struct rt_device_graphic_ops
void (*blit_line) (const char* pixel, int x, int y, rt_size_t size);
};
#define rt_graphix_ops(device) (struct rt_device_graphic_ops*)(device->user_data)
#define rt_graphix_ops(device) ((struct rt_device_graphic_ops*)(device->user_data))
/*@}*/
/**