Kaynağa Gözat

Fixed const/non-const warning

Sam Lantinga 11 yıl önce
ebeveyn
işleme
1f21484bdd
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/render/SDL_yuv_sw.c

+ 2 - 1
src/render/SDL_yuv_sw.c

@@ -1190,7 +1190,8 @@ SDL_SW_UpdateYUVTexturePlanar(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect,
                               const Uint8 *Uplane, int Upitch,
                               const Uint8 *Vplane, int Vpitch)
 {
-    Uint8 *src, *dst;
+    const Uint8 *src;
+    Uint8 *dst;
     int row;
     size_t length;