From d0a0e37b2b2891e22b1eeb49aaf034d2760e59ab Mon Sep 17 00:00:00 2001 From: Systemcluster Date: Thu, 29 Aug 2013 06:15:55 +0200 Subject: [PATCH] Declared unnamed typedef structs as their types Without defining them as structs it was impossible to forward declare `GLFWgammaramp` and `GLFWvidmode`. --- include/GLFW/glfw3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index 7e6ebdce..1b93a3eb 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -793,7 +793,7 @@ typedef void (* GLFWmonitorfun)(GLFWmonitor*,int); * * @ingroup monitor */ -typedef struct +typedef struct GLFWvidmode { /*! The width, in screen coordinates, of the video mode. */ @@ -823,7 +823,7 @@ typedef struct * * @ingroup monitor */ -typedef struct +typedef struct GLFWgammaramp { /*! An array of value describing the response of the red channel. */