summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/imagehelper.h2
-rw-r--r--src/resources/openglimagehelper.cpp2
-rw-r--r--src/resources/openglimagehelper.h2
-rw-r--r--src/resources/sdl2imagehelper.cpp2
-rw-r--r--src/resources/sdl2imagehelper.h2
-rw-r--r--src/resources/sdlimagehelper.cpp2
-rw-r--r--src/resources/sdlimagehelper.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h
index b7080ee4b..389fc0a60 100644
--- a/src/resources/imagehelper.h
+++ b/src/resources/imagehelper.h
@@ -79,7 +79,7 @@ class ImageHelper notfinal
int height)
const A_WARN_UNUSED;
- virtual void copySurfaceToImage(Image *const image A_UNUSED,
+ virtual void copySurfaceToImage(const Image *const image A_UNUSED,
const int x A_UNUSED,
const int y A_UNUSED,
SDL_Surface *const surface A_UNUSED)
diff --git a/src/resources/openglimagehelper.cpp b/src/resources/openglimagehelper.cpp
index c830c6321..a51055842 100644
--- a/src/resources/openglimagehelper.cpp
+++ b/src/resources/openglimagehelper.cpp
@@ -378,7 +378,7 @@ void OpenGLImageHelper::invalidate(const GLuint textureId)
}
}
-void OpenGLImageHelper::copySurfaceToImage(Image *const image,
+void OpenGLImageHelper::copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *surface) const
{
diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h
index 8d9560642..3edc528ac 100644
--- a/src/resources/openglimagehelper.h
+++ b/src/resources/openglimagehelper.h
@@ -125,7 +125,7 @@ class OpenGLImageHelper final : public ImageHelper
void postInit() override final;
- void copySurfaceToImage(Image *const image,
+ void copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *surface) const;
diff --git a/src/resources/sdl2imagehelper.cpp b/src/resources/sdl2imagehelper.cpp
index 12e975ae6..da8575ed6 100644
--- a/src/resources/sdl2imagehelper.cpp
+++ b/src/resources/sdl2imagehelper.cpp
@@ -94,7 +94,7 @@ int SDLImageHelper::combineSurface(SDL_Surface *restrict const src,
return 1;
}
-void SDLImageHelper::copySurfaceToImage(Image *const image,
+void SDLImageHelper::copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *const surface) const
{
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h
index f59a6bee1..31cb15130 100644
--- a/src/resources/sdl2imagehelper.h
+++ b/src/resources/sdl2imagehelper.h
@@ -62,7 +62,7 @@ class SDLImageHelper final : public ImageHelper
const float alpha)
override final A_WARN_UNUSED;
- void copySurfaceToImage(Image *const image,
+ void copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *const surface)
const override final;
diff --git a/src/resources/sdlimagehelper.cpp b/src/resources/sdlimagehelper.cpp
index 2f9594487..b4e7007f6 100644
--- a/src/resources/sdlimagehelper.cpp
+++ b/src/resources/sdlimagehelper.cpp
@@ -284,7 +284,7 @@ int SDLImageHelper::combineSurface(SDL_Surface *restrict const src,
return SDL_gfxBlitRGBA(src, srcrect, dst, dstrect);
}
-void SDLImageHelper::copySurfaceToImage(Image *const image,
+void SDLImageHelper::copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *const surface) const
{
diff --git a/src/resources/sdlimagehelper.h b/src/resources/sdlimagehelper.h
index 9ab12368f..01e584a6a 100644
--- a/src/resources/sdlimagehelper.h
+++ b/src/resources/sdlimagehelper.h
@@ -74,7 +74,7 @@ class SDLImageHelper final : public ImageHelper
const float alpha)
override final A_WARN_UNUSED;
- void copySurfaceToImage(Image *const image,
+ void copySurfaceToImage(const Image *const image,
const int x, const int y,
SDL_Surface *const surface)
const override final;