mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-24 03:13:34 +08:00
GDK: Fix SDL_pixels.c/_c.h linking error caused by C / C++ mismatch
This commit is contained in:
parent
23ace600fc
commit
794f0f1b42
@ -31,7 +31,6 @@
|
||||
#include "../../video/windows/SDL_windowswindow.h"
|
||||
#include "../SDL_sysrender.h"
|
||||
#include "../SDL_d3dmath.h"
|
||||
#include "../../video/SDL_pixels_c.h"
|
||||
|
||||
#if defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)
|
||||
#include "SDL_render_d3d12_xbox.h"
|
||||
@ -78,6 +77,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* This must be included here as the function definitions in SDL_pixels.c/_c.h are C, not C++ */
|
||||
#include "../../video/SDL_pixels_c.h"
|
||||
|
||||
/* !!! FIXME: vertex buffer bandwidth could be lower; only use UV coords when
|
||||
!!! FIXME: textures are needed. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user