Skip to content

Commit

Permalink
fixed __WEBOS__ check
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Apr 29, 2024
1 parent 910ca61 commit 859f05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/SDL_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void SDL_MousePostInit(void)
SDL_FreeSurface(surface);
}
}
#if __WEBOS__
#ifdef __WEBOS__
{
SDL_Surface *surface = SDL_CreateRGBSurfaceWithFormat(0, 1, 1, 32, SDL_PIXELFORMAT_RGBA32);
SDL_memset(surface->pixels, 0, (size_t)surface->h * surface->pitch);
Expand Down

0 comments on commit 859f05a

Please sign in to comment.