diff options
| author | kernelkinetic <[email protected]> | 2020-09-27 10:18:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-27 10:18:43 +0200 |
| commit | e90b4d8915d593ab57cedfe988da8fbbd18b4408 (patch) | |
| tree | cb2822cbb3d08bad58da93d6049e8e2c797fba0e /src/raylib.h | |
| parent | c2e56f2604f2cbbce37561fe49be40fd884d23ad (diff) | |
| download | raylib-e90b4d8915d593ab57cedfe988da8fbbd18b4408.tar.gz raylib-e90b4d8915d593ab57cedfe988da8fbbd18b4408.zip | |
Platform DRM (#1388)
* updated README.md
* fixed CMakeLists.txt to allow building and debugging with Visual Studio Code and CMAKE Tools extension
* added PLATFORM_DRM
contains mouse pointer code from https://github.com/chriscamacho
* removed redundant cleanup in InitGraphicsDevice
* fixed DRM connector mode selection
* added choosen DRM connected mode to log output
* added respecting TargetFPS on DRM mode selection, default to 60
* added support for GetMonitorRefreshRate
* changed SUPPORT_MOUSE_CURSOR_RPI to SUPPORT_MOUSE_CURSOR_NATIVE
* changed avoidProgressive to allowInterlaced
* cleanup, function extraction and improved mode selection
* README reverted to original for PR
* line endings fixed for core.c
* removed old code
* mouse pointer reverted to small square
* replaced SetGraphicDeviceName() by DEFAULT_GRAPHIC_DEVICE_DRM
Co-authored-by: kernelkinetic <[email protected]>
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 72e24cb7..499650c6 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -472,7 +472,8 @@ typedef enum { FLAG_WINDOW_HIDDEN = 128, // Set to create the window initially hidden FLAG_WINDOW_ALWAYS_RUN = 256, // Set to allow windows running while minimized FLAG_MSAA_4X_HINT = 32, // Set to try enabling MSAA 4X - FLAG_VSYNC_HINT = 64 // Set to try enabling V-Sync on GPU + FLAG_VSYNC_HINT = 64, // Set to try enabling V-Sync on GPU + FLAG_INTERLACED_HINT = 512 // Set to try V3D to choose an interlaced video format } ConfigFlag; // Trace log type |
