mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
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:
parent
124bc392ab
commit
d0a0e37b2b
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user