SDL_test: pass data pointer to unit tests

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2024-09-06 03:06:40 +02:00
1 parent 741c04b339
commit 2f4b2df595
9 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ static SDL_Surface *testSurface = NULL;
/* Fixture */
/* Create a 32-bit writable surface for blitting tests */
static void surfaceSetUp(void *arg)
static void surfaceSetUp(void **arg)
{
int result;
SDL_BlendMode blendMode = SDL_BLENDMODE_NONE;