Declared unnamed typedef structs as their types

Without defining them as structs it was impossible to forward declare `GLFWgammaramp` and `GLFWvidmode`.
This commit is contained in:
Systemcluster 2013-08-29 06:15:55 +02:00
parent 124bc392ab
commit d0a0e37b2b

View File

@ -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.
*/