|
@@ -3252,8 +3252,9 @@ int GuiTextInputBox(Rectangle bounds, const char *title, const char *message, co
|
|
// https://stackoverflow.com/questions/4435450/2d-opengl-drawing-lines-that-dont-exactly-fit-pixel-raster
|
|
// https://stackoverflow.com/questions/4435450/2d-opengl-drawing-lines-that-dont-exactly-fit-pixel-raster
|
|
Vector2 GuiGrid(Rectangle bounds, float spacing, int subdivs)
|
|
Vector2 GuiGrid(Rectangle bounds, float spacing, int subdivs)
|
|
{
|
|
{
|
|
|
|
+ // Grid lines alpha amount
|
|
#if !defined(RAYGUI_GRID_ALPHA)
|
|
#if !defined(RAYGUI_GRID_ALPHA)
|
|
- #define RAYGUI_GRID_ALPHA 0.15f // Grid lines alpha amount
|
|
|
|
|
|
+ #define RAYGUI_GRID_ALPHA 0.15f
|
|
#endif
|
|
#endif
|
|
|
|
|
|
GuiControlState state = guiState;
|
|
GuiControlState state = guiState;
|