mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Fixed mipmap sharpness setting not being correctly reapplied on resolution change
This commit is contained in:
@@ -289,6 +289,7 @@ bool Image::loadVolatilePOT()
|
|||||||
GL_UNSIGNED_BYTE,
|
GL_UNSIGNED_BYTE,
|
||||||
data->getData());
|
data->getData());
|
||||||
|
|
||||||
|
setMipmapSharpness(mipmapsharpness);
|
||||||
setFilter(filter);
|
setFilter(filter);
|
||||||
setWrap(wrap);
|
setWrap(wrap);
|
||||||
|
|
||||||
@@ -323,6 +324,7 @@ bool Image::loadVolatileNPOT()
|
|||||||
GL_UNSIGNED_BYTE,
|
GL_UNSIGNED_BYTE,
|
||||||
data->getData());
|
data->getData());
|
||||||
|
|
||||||
|
setMipmapSharpness(mipmapsharpness);
|
||||||
setFilter(filter);
|
setFilter(filter);
|
||||||
setWrap(wrap);
|
setWrap(wrap);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user