Fixed typo

Fixes https://github.com/libsdl-org/SDL/issues/13373
This commit is contained in:
Sam Lantinga
2025-07-16 19:31:10 -07:00
parent 62d82ffc15
commit 7510a67159

View File

@@ -5180,7 +5180,7 @@ bool SDL_RenderGeometryRaw(SDL_Renderer *renderer,
texture_address_mode_v = renderer->texture_address_mode_v;
if (texture &&
(texture_address_mode_u == SDL_TEXTURE_ADDRESS_AUTO ||
texture_address_mode_u == SDL_TEXTURE_ADDRESS_AUTO)) {
texture_address_mode_v == SDL_TEXTURE_ADDRESS_AUTO)) {
for (i = 0; i < num_vertices; ++i) {
const float *uv_ = (const float *)((const char *)uv + i * uv_stride);
float u = uv_[0];