summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-22 15:51:46 +0200
committerSamuel Pitoiset <[email protected]>2017-06-23 09:26:43 +0200
commitc244c25ce36f6920c25c8fd8f071038712004f14 (patch)
tree1b37b3a5a86c1c85133537c35ef6a33cf94d8b64 /src/mesa/main/viewport.h
parentad0afa87b8cf8a8783df740d63fe852c2ebba90f (diff)
mesa: add KHR_no_error support for glViewport()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/viewport.h')
-rw-r--r--src/mesa/main/viewport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/viewport.h b/src/mesa/main/viewport.h
index 570a23a23b2..b07410bf58a 100644
--- a/src/mesa/main/viewport.h
+++ b/src/mesa/main/viewport.h
@@ -31,6 +31,9 @@
struct gl_context;
+void GLAPIENTRY
+_mesa_Viewport_no_error(GLint x, GLint y, GLsizei width, GLsizei height);
+
extern void GLAPIENTRY
_mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height);