summaryrefslogtreecommitdiff
path: root/src/cam/sdl_texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/sdl_texture.cpp')
-rw-r--r--src/cam/sdl_texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cam/sdl_texture.cpp b/src/cam/sdl_texture.cpp
index 2ca2add2..02a8ff28 100644
--- a/src/cam/sdl_texture.cpp
+++ b/src/cam/sdl_texture.cpp
@@ -9,7 +9,7 @@
#include <iostream>
-SDLTexture::SDLTexture(const SDL_Rect &rect, SDL_PixelFormatEnum pixelFormat,
+SDLTexture::SDLTexture(const SDL_Rect &rect, uint32_t pixelFormat,
const int pitch)
: ptr_(nullptr), rect_(rect), pixelFormat_(pixelFormat), pitch_(pitch)
{