OSDN Git Service

Revert "Workaround: disable checksum for a problem in glTexSubImage2D"
authorYahan Zhou <yahan@google.com>
Fri, 3 Jun 2016 00:24:03 +0000 (00:24 +0000)
committerYahan Zhou <yahan@google.com>
Thu, 30 Jun 2016 20:21:56 +0000 (13:21 -0700)
The checksum enable/disable should be control by feature control now.

This reverts commit 2a5a09abd50933d7cc4b1302769a19ffdf9d104b.

Change-Id: I8f33718f7b2112fd6abcfd51fadc336e9bd15a3a

system/OpenglSystemCommon/HostConnection.cpp

index e6c3c73..180784e 100644 (file)
@@ -146,9 +146,7 @@ renderControl_encoder_context_t *HostConnection::rcEncoder()
 {
     if (!m_rcEnc) {
         m_rcEnc = new renderControl_encoder_context_t(m_stream, checksumHelper());
-        // TODO: disable checksum as a workaround in a glTexSubImage2D problem
-        // Uncomment the following line when the root cause is solved
-        //setChecksumHelper(m_rcEnc);
+        setChecksumHelper(m_rcEnc);
     }
     return m_rcEnc;
 }