mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-03 03:31:04 +03:00
Create unit-test windows hidden from the start while preserving hardware OpenGL rendering. Force double buffering for hidden X11 windows so framebuffer capture reads the rendered back buffer reliably, and keep SDL2/SDL3 behavior consistent. Update unit-test documentation to use direct desktop execution by default, with Xvfb retained for headless environments.
This change might break unit-tests in other platforms, next CI run will let us know.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
#include <eepp/config.hpp>
|
||||
#include <string>
|
||||
|
||||
#define EEPP_MAJOR_VERSION 3
|
||||
#define EEPP_MINOR_VERSION 1
|
||||
#define EEPP_MAJOR_VERSION 4
|
||||
#define EEPP_MINOR_VERSION 0
|
||||
#define EEPP_PATCH_LEVEL 0
|
||||
#define EEPP_CODENAME "Khaya"
|
||||
#define EEPP_CODENAME "Asādhāraṇa"
|
||||
|
||||
/** The compiled version of the library */
|
||||
#define EEPP_VERSION( x ) \
|
||||
|
||||
@@ -25,8 +25,11 @@ enum WindowStyle {
|
||||
Resize = ( 1 << 2 ),
|
||||
Fullscreen = ( 1 << 3 ),
|
||||
UseDesktopResolution = ( 1 << 4 ),
|
||||
Hidden = ( 1 << 5 ),
|
||||
#if EE_PLATFORM == EE_PLATFORM_IOS || EE_PLATFORM == EE_PLATFORM_ANDROID
|
||||
Default = Borderless
|
||||
#elif defined( EE_UNIT_TESTS )
|
||||
Default = Titlebar | Resize | Hidden
|
||||
#else
|
||||
Default = Titlebar | Resize
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user