Browse Source

Add missing break

Mathieu Eyraud 1 year ago
parent
commit
6af979975f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/render/SDL_yuv_sw.c

+ 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);
             }
         }
-    }
+    } break;
     default:
         return SDL_SetError("Unsupported YUV format");
     }