juce_OpenGLGraphicsContext.cpp:1677 contains the following code:
template <typename IteratorType>
void renderImageTransformed (IteratorType& iter, const Image& src, int alpha,
const AffineTransform& trans, Graphics::ResamplingQuality, bool tiledFill) const
{
state->shaderQuadQueue.flush();
state->setShaderForTiledImageFill (state->cachedImageList->getTextureFor (src), trans, 0, nullptr, tiledFill);
state->shaderQuadQueue.add (iter, PixelARGB ((uint8) alpha, (uint8) alpha, (uint8) alpha, (uint8) alpha));
state->shaderQuadQueue.flush();
state->currentShader.clearShader (state->shaderQuadQueue);
}
Clearly the Graphics::ResamplingQuality
parameter is ignored. Why? Shouldn’t be too hard to change the tex params based on some switch statement. And what’s the default (GL_LINEAR
or GL_NEAREST
) right now?