Home
last modified time | relevance | path

Searched refs:empty_surface (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidmouse.c124 …SDL_Surface *empty_surface = SDL_CreateRGBSurfaceWithFormat(0, 1, 1, 32, SDL_PIXELFORMAT_ARGB8888); in Android_CreateEmptyCursor() local
125 if (empty_surface) { in Android_CreateEmptyCursor()
126 SDL_memset(empty_surface->pixels, 0, empty_surface->h * empty_surface->pitch); in Android_CreateEmptyCursor()
127 empty_cursor = Android_CreateCursor(empty_surface, 0, 0); in Android_CreateEmptyCursor()
128 SDL_FreeSurface(empty_surface); in Android_CreateEmptyCursor()

Completed in 2 milliseconds