mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-22 06:02:04 +02:00
Don't use framebuffer blitting if shader-based interpolation is needed
This commit is contained in:
parent
487cde38db
commit
eca31207cd
2 changed files with 4 additions and 2 deletions
|
@ -243,7 +243,9 @@
|
|||
// capable of it. Some drivers carry buggy
|
||||
// implementations of this functionality, so
|
||||
// disabling it can be used as a workaround.
|
||||
// Does nothing on macOS.
|
||||
// Does nothing on macOS. Force-disabled when
|
||||
// smoothScaling or smoothScalingDown isn't
|
||||
// Nearest-Neighbor or Bilinear.
|
||||
// (default: disabled)
|
||||
//
|
||||
// "enableBlitting": false,
|
||||
|
|
|
@ -138,7 +138,7 @@ void vaoUnbind(VAO &vao)
|
|||
}
|
||||
}
|
||||
|
||||
#define HAVE_NATIVE_BLIT gl.BlitFramebuffer
|
||||
#define HAVE_NATIVE_BLIT (gl.BlitFramebuffer && shState->config().smoothScaling <= Bilinear && shState->config().smoothScalingDown <= Bilinear)
|
||||
|
||||
int blitScaleIsSpecial(TEXFBO &target, bool targetPreferHires, const IntRect &targetRect, TEXFBO &source, const IntRect &sourceRect)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue