Project

General

Profile

« Previous | Next » 

Revision f3b76541

Added by Leszek Koltunski over 3 years ago

Only switch on 'BuggyUBOs' on Adreno 308 driver versions 331 and 415.

View differences:

src/main/java/org/distorted/library/main/DistortedLibrary.java
935 935
      }
936 936
    else if( mVendor.contains("Qualcomm"))
937 937
      {
938
      if( mVersion.contains("V@331.0") ||
939
          mVersion.contains("V@415.0") ||
940
          mRenderer.contains("308")     )
938
      if( mRenderer.contains("308") && (mVersion.contains("V@331.0") || mVersion.contains("V@415.0") ) )
941 939
        {
942
        Log.e("DISTORTED", "You are running this on an Adreno 30x.\nStrange shit might happen.");
940
        Log.e("DISTORTED", "You are running this on an Adreno 308 driver 331 or 415.\nStrange shit might happen.");
943 941
        mBuggyUBOs = true;
944 942
        }
945 943
      }

Also available in: Unified diff