From e17ab7da4d792b28d81e24df3029d811f31a1a3f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 16 Jan 2026 08:41:51 -0800
Subject: [PATCH] Added IMG_gpu.c to the Android and Visual Studio projects
---
Android.mk | 1 +
VisualC/SDL_image.vcxproj | 3 ++-
VisualC/SDL_image.vcxproj.filters | 5 ++++-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Android.mk b/Android.mk
index 9b9f1ada1..ad6d0f407 100644
--- a/Android.mk
+++ b/Android.mk
@@ -79,6 +79,7 @@ LOCAL_SRC_FILES := \
src/IMG_avif.c \
src/IMG_bmp.c \
src/IMG_gif.c \
+ src/IMG_gpu.c \
src/IMG_jpg.c \
src/IMG_jxl.c \
src/IMG_lbm.c \
diff --git a/VisualC/SDL_image.vcxproj b/VisualC/SDL_image.vcxproj
index 63fd8025b..44a9b0377 100644
--- a/VisualC/SDL_image.vcxproj
+++ b/VisualC/SDL_image.vcxproj
@@ -203,6 +203,7 @@
<ClCompile Include="..\src\IMG_avif.c" />
<ClCompile Include="..\src\IMG_bmp.c" />
<ClCompile Include="..\src\IMG_gif.c" />
+ <ClCompile Include="..\src\IMG_gpu.c" />
<ClCompile Include="..\src\IMG_jpg.c" />
<ClCompile Include="..\src\IMG_jxl.c" />
<ClCompile Include="..\src\IMG_lbm.c" />
@@ -440,4 +441,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
\ No newline at end of file
+</Project>
diff --git a/VisualC/SDL_image.vcxproj.filters b/VisualC/SDL_image.vcxproj.filters
index 0fdfe3271..cade2c410 100644
--- a/VisualC/SDL_image.vcxproj.filters
+++ b/VisualC/SDL_image.vcxproj.filters
@@ -10,6 +10,9 @@
<ClCompile Include="..\src\IMG_gif.c">
<Filter>Sources</Filter>
</ClCompile>
+ <ClCompile Include="..\src\IMG_gpu.c">
+ <Filter>Sources</Filter>
+ </ClCompile>
<ClCompile Include="..\src\IMG_jpg.c">
<Filter>Sources</Filter>
</ClCompile>
@@ -190,4 +193,4 @@
<Filter>x86</Filter>
</CustomBuild>
</ItemGroup>
-</Project>
\ No newline at end of file
+</Project>