summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 2210e3c33..7c4e0c53a 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -326,7 +326,7 @@ int TestLauncher::testTextures()
pixels[f] = bytes1[f];
graphicsManager.getLastError();
graphicsManager.resetCachedError();
- Image *const image = imageHelper->load(surface);
+ Image *const image = imageHelper->loadSurface(surface);
SDL_FreeSurface(surface);
if (!image)
break;