winex11.drv: Handle failure of XcursorImageCreate.
This commit is contained in:
parent
96e44ddb78
commit
32e3539413
|
@ -486,6 +486,8 @@ static XcursorImage *create_cursor_image( CURSORICONINFO *ptr )
|
|||
xor_ptr = xor_bits = and_ptr + and_size;
|
||||
|
||||
image = pXcursorImageCreate( ptr->nWidth, ptr->nHeight );
|
||||
if (!image) return NULL;
|
||||
|
||||
pixel_ptr = image->pixels;
|
||||
|
||||
alpha_zero = check_alpha_zero(ptr, xor_bits);
|
||||
|
|
Loading…
Reference in New Issue