Skip to content

Commit 4a2316b

Browse files
committed
fbgfx.bi: added GFX_SCREEN_EXIT constant
- used with Screen 0 (closing any graphics window and preserving the console window content)
1 parent 76d0208 commit 4a2316b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Version 1.08.0
7575
- __FB_X86__ intrinsic define on x86 and x86_64
7676
- added warning 'FOR counter variable is unable to exceed limit value' on constant end value for loops to help avoid infinite loops, e.g. for i as ubyte = 0 to 255
7777
- internal rtlib function fb_LEFTSELF( string, n ) to reduce the size of a string without reallocating the buffer
78+
- added GFX_SCREEN_EXIT = &h80000000l constant to fbgfx.bi - used with Screen 0 (closing any graphics window and preserving the console window content)
7879

7980
[fixed]
8081
- makefile: under MSYS2 (and friends), TARGET_ARCH is now identified from shell's default target architecture instead of shell's host architecture

inc/fbgfx.bi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ namespace FB
3939
GFX_SHAPED_WINDOW = &h10 , _
4040
GFX_ALWAYS_ON_TOP = &h20 , _
4141
GFX_ALPHA_PRIMITIVES = &h40 , _
42-
GFX_HIGH_PRIORITY = &h80
42+
GFX_HIGH_PRIORITY = &h80 ,_
43+
GFX_SCREEN_EXIT = &h80000000l
4344
'' OpenGL options
4445
const as integer GFX_STENCIL_BUFFER = &h10000 , _
4546
GFX_ACCUMULATION_BUFFER = &h20000 , _

0 commit comments

Comments
 (0)