Mesa (master): mesa/main: add missing include in glformats.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 16 14:19:02 UTC 2020


Module: Mesa
Branch: master
Commit: 2410def98fa688aa009b42de3224e12e5ddbaff3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2410def98fa688aa009b42de3224e12e5ddbaff3

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Nov 16 12:33:36 2020 +0100

mesa/main: add missing include in glformats.h

This header uses uint32_t without including stdint.h. This worked fine
by accident until a new c-source started including it.

Fixes: 1bf539b3a21 ("mesa: Clamp some depth values in glClearBufferfv")
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7637>

---

 src/mesa/main/glformats.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h
index 90438ffba0d..98987a15f4e 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -29,6 +29,7 @@
 
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <GL/gl.h>
 
 



More information about the mesa-commit mailing list