2022-04-12 06:07:18 -06:00
|
|
|
/*
|
2023-01-09 10:41:41 -07:00
|
|
|
Copyright 1997-2023 Sam Lantinga
|
2022-04-12 06:07:18 -06:00
|
|
|
Copyright 2022 Collabora Ltd.
|
|
|
|
SPDX-License-Identifier: Zlib
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TESTUTILS_H
|
|
|
|
#define TESTUTILS_H
|
|
|
|
|
2022-11-26 21:43:38 -07:00
|
|
|
#include <SDL3/SDL.h>
|
2022-04-12 06:07:18 -06:00
|
|
|
|
|
|
|
SDL_Texture *LoadTexture(SDL_Renderer *renderer, const char *file, SDL_bool transparent,
|
|
|
|
int *width_out, int *height_out);
|
|
|
|
char *GetNearbyFilename(const char *file);
|
|
|
|
char *GetResourceFilename(const char *user_specified, const char *def);
|
|
|
|
|
|
|
|
#endif
|