[client] egl: remove deprecated BGR members and logic
This commit is contained in:
1 parent
4aba15f31c
commit
3af2cf54d6
4 files changed
+6
-19
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user