diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py
index e2fc124be22..4f9229d5fcd 100644
--- a/src/mapi/glapi/gen/apiexec.py
+++ b/src/mapi/glapi/gen/apiexec.py
@@ -148,7 +148,7 @@ functions = {
# OpenGL 4.3 / GL_ARB_framebuffer_no_attachments. Mesa can expose the
# extension with OpenGL 3.0.
"FramebufferParameteri": exec_info(compatibility=30, core=31, es2=31),
- "GetFramebufferParameteri": exec_info(compatibility=30, core=31, es2=31),
+ "GetFramebufferParameteriv": exec_info(compatibility=30, core=31, es2=31),
# OpenGL 4.5 / GL_ARB_direct_state_access. Mesa can expose the extension
# with core profile.
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index c5e6a066ac6..a804e850f46 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -10932,12 +10932,12 @@
-
+
-
+
@@ -10984,12 +10984,12 @@
-
+
-
+