[client] egl: remove deprecated BGR members and logic

This commit is contained in:
Geoffrey McRae
2023-11-08 14:24:37 +11:00
parent 4aba15f31c
commit 3af2cf54d6
4 changed files with 6 additions and 19 deletions

View File

@@ -196,7 +196,7 @@ static bool egl_texBufferStreamUpdate(EGL_Texture * texture,
for(int y = 0; y < update->height; ++y)
{
memcpy(dst, src, update->pitch);
dst += texture->format.bufferPitch;
dst += texture->format.pitch;
src += update->pitch;
}
}
@@ -207,7 +207,7 @@ static bool egl_texBufferStreamUpdate(EGL_Texture * texture,
{
src -= update->stride;
memcpy(dst, src, update->stride);
dst += texture->format.bufferPitch;
dst += texture->format.pitch;
}
}