SDL_test: pass data pointer to unit tests

This commit is contained in:
Anonymous Maarten 2024-09-01 17:51:04 +02:00 committed by Anonymous Maarten
parent 741c04b339
commit 2f4b2df595
9 changed files with 12 additions and 11 deletions

View file

@ -44,7 +44,7 @@ static SDL_bool hasDrawColor(void);
/**
* Create software renderer for tests
*/
static void InitCreateRenderer(void *arg)
static void InitCreateRenderer(void **arg)
{
int width = 320, height = 240;
const char *renderer_name = NULL;