Merge "Import changes from an internal repo." into lmp-dev
authorJarkko Pöyry <jpoyry@google.com>
Tue, 30 Sep 2014 23:36:28 +0000 (23:36 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 30 Sep 2014 23:36:28 +0000 (23:36 +0000)
modules/gles31/functional/es31fNegativeStateApiTests.cpp

index 46945a9..53a42b9 100644 (file)
@@ -1057,6 +1057,8 @@ void get_synciv (NegativeTestContext& ctx)
        ctx.glGetSynciv (sync, -1, 32, &length, &values[0]);
        ctx.expectError (GL_INVALID_ENUM);
        ctx.endSection();
+
+       ctx.glDeleteSync(sync);
 }
 
 // Enumerated boolean state queries