mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 14:37:51 +00:00
texture_cache: Use siblings textures on Rebuild and fix possible error on blitting
This commit is contained in:
parent
caeaf6bb04
commit
9abe6fcdfa
2 changed files with 24 additions and 11 deletions
|
@ -522,7 +522,7 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view,
|
|||
|
||||
glBlitFramebuffer(src_rect.left, src_rect.top, src_rect.right, src_rect.bottom, dst_rect.left,
|
||||
dst_rect.top, dst_rect.right, dst_rect.bottom, buffers,
|
||||
is_linear ? GL_LINEAR : GL_NEAREST);
|
||||
is_linear && (buffers == GL_COLOR_BUFFER_BIT) ? GL_LINEAR : GL_NEAREST);
|
||||
}
|
||||
|
||||
void TextureCacheOpenGL::BufferCopy(Surface& src_surface, Surface& dst_surface) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue