Add a comment, revert a reporting change.

This commit is contained in:
Henrik Rydgård committed 2017-12-10 02:05:25 +01:00
1 parent 8d5c85fa40
commit 299cb007c2
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -328,6 +328,9 @@ void TextureCacheCommon::SetTexture(bool force) {
TexCache::iterator iter = cache_.find(cachekey);
TexCacheEntry *entry = nullptr;
// Note: It's necessary to reset needshadertexclamp, for otherwise DIRTY_TEXCLAMP won't get set later.
// Should probably revisit how this works..
gstate_c.SetNeedShaderTexclamp(false);
gstate_c.skipDrawReason &= ~SKIPDRAW_BAD_FB_TEXTURE;
if (gstate_c.bgraTexture != isBgraBackend_) {
+1 -1
View File
@@ -930,7 +930,7 @@ void TextureCacheGLES::LoadTextureLevel(TexCacheEntry &entry, ReplacedTexture &r
// TODO: We really, really should avoid calling glGetError.
GLenum err = glGetError();
if (err == GL_OUT_OF_MEMORY) {
WARN_LOG(G3D, "Texture cache ran out of GPU memory; switching to low memory mode");
WARN_LOG_REPORT(G3D, "Texture cache ran out of GPU memory; switching to low memory mode");
lowMemoryMode_ = true;
decimationCounter_ = 0;
Decimate();