[client] egl: remove deprecated BGR members and logic

This commit is contained in:
Geoffrey McRae committed 2023-11-10 06:28:05 +11:00
1 parent 4aba15f31c
commit 3af2cf54d6
4 files changed
+6 -19

No files matched your search

+2 -2
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;
}
}