Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1145)

Unified Diff: gpu/command_buffer/client/gles2_implementation_impl_autogen.h

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
index 65e38b1c8e6e73c67ca0c5f2052668731f39eee8..90f91c5969a90ce2b034259f3bfd15c050b0f73c 100644
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h
@@ -644,7 +644,7 @@ GLsync GLES2Implementation::FenceSync(GLenum condition, GLbitfield flags) {
GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glFenceSync("
<< GLES2Util::GetStringSyncCondition(condition) << ", "
<< flags << ")");
- if (condition != 0x9117) {
+ if (condition != GL_SYNC_GPU_COMMANDS_COMPLETE) {
SetGLError(GL_INVALID_ENUM, "glFenceSync", "condition GL_INVALID_ENUM");
return 0;
}
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698