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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cam/sdl_texture.cpp b/src/cam/sdl_texture.cpp
index 02a8ff28..e9040bc5 100644
--- a/src/cam/sdl_texture.cpp
+++ b/src/cam/sdl_texture.cpp
@@ -10,8 +10,8 @@
#include <iostream>
SDLTexture::SDLTexture(const SDL_Rect &rect, uint32_t pixelFormat,
- const int pitch)
- : ptr_(nullptr), rect_(rect), pixelFormat_(pixelFormat), pitch_(pitch)
+ const int stride)
+ : ptr_(nullptr), rect_(rect), pixelFormat_(pixelFormat), stride_(stride)
{
}