2
0
Mathieu Eyraud 1 жил өмнө
parent
commit
6af979975f

+ 1 - 1
src/render/SDL_yuv_sw.c

@@ -211,7 +211,7 @@ int SDL_SW_UpdateYUVTexture(SDL_SW_YUVTexture *swdata, const SDL_Rect *rect,
                 dst += 2 * ((swdata->w + 1) / 2);
                 dst += 2 * ((swdata->w + 1) / 2);
             }
             }
         }
         }
-    }
+    } break;
     default:
     default:
         return SDL_SetError("Unsupported YUV format");
         return SDL_SetError("Unsupported YUV format");
     }
     }