Added missing SDL_begin_code.h and SDL_close_code.h to SDL_gpu.h

This commit is contained in:
Sam Lantinga
2024-08-31 10:02:46 -07:00
parent 60760b9abb
commit 92d1689eb4

View File

@@ -27,8 +27,8 @@
* Include file for SDL GPU API functions * Include file for SDL GPU API functions
*/ */
#ifndef SDL_GPU_H #ifndef SDL_gpu_h_
#define SDL_GPU_H #define SDL_gpu_h_
#include <SDL3/SDL_stdinc.h> #include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_pixels.h> #include <SDL3/SDL_pixels.h>
@@ -37,6 +37,7 @@
#include <SDL3/SDL_surface.h> #include <SDL3/SDL_surface.h>
#include <SDL3/SDL_video.h> #include <SDL3/SDL_video.h>
#include <SDL3/SDL_begin_code.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
@@ -2614,5 +2615,6 @@ extern SDL_DECLSPEC void SDLCALL SDL_GDKResumeGPU(SDL_GPUDevice *device);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#include <SDL3/SDL_close_code.h>
#endif /* SDL_GPU_H */ #endif /* SDL_gpu_h_ */