зеркало из https://github.com/mozilla/gecko-dev.git
Remove the warning because it's not useful, r=joe
--HG-- extra : rebase_source : 43086e16e842a602479e69d983107cedb8649aea
This commit is contained in:
Родитель
c84e375054
Коммит
638d30962f
|
@ -704,9 +704,6 @@ void GLContext::ApplyFilterToBoundTexture(gfxPattern::GraphicsFilter aFilter)
|
|||
fTexParameteri(LOCAL_GL_TEXTURE_2D, LOCAL_GL_TEXTURE_MIN_FILTER, LOCAL_GL_NEAREST);
|
||||
fTexParameteri(LOCAL_GL_TEXTURE_2D, LOCAL_GL_TEXTURE_MAG_FILTER, LOCAL_GL_NEAREST);
|
||||
} else {
|
||||
if (aFilter != gfxPattern::FILTER_GOOD) {
|
||||
NS_WARNING("Unsupported filter type!");
|
||||
}
|
||||
fTexParameteri(LOCAL_GL_TEXTURE_2D, LOCAL_GL_TEXTURE_MIN_FILTER, LOCAL_GL_LINEAR);
|
||||
fTexParameteri(LOCAL_GL_TEXTURE_2D, LOCAL_GL_TEXTURE_MAG_FILTER, LOCAL_GL_LINEAR);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче