summaryrefslogtreecommitdiffstats
path: root/ui/gl/egl_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gl/egl_util.h')
-rw-r--r--ui/gl/egl_util.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/ui/gl/egl_util.h b/ui/gl/egl_util.h
new file mode 100644
index 0000000..bf6a019
--- /dev/null
+++ b/ui/gl/egl_util.h
@@ -0,0 +1,16 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GL_EGL_UTIL_H_
+#define UI_GL_EGL_UTIL_H_
+#pragma once
+
+namespace gfx {
+
+// Returns the last EGL error as a string.
+const char* GetLastEGLErrorString();
+
+} // namespace gfx
+
+#endif // UI_GL_EGL_UTIL_H_