Skip to content

Commit 590fcb6

Browse files
committed
guthub # 320: SET_GL_SCALE has no effect on Linux
- oGLfbGFX: scaling set by SCREENCONTROL not used when initializing opengl unix driver - typo in commit 0b4598d - prevented the initial scaling set to be used when initializing the opengl unix driver_exit
1 parent abb4d2c commit 590fcb6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Version 1.08.1
88
[fixed]
99
- github #315: set parameters when calling SCREENCONTROL (was broken in fbc 1.08.0 due to new LONG/LONGINT SCREENCONTROL API's)
1010
- github #318: duplicate definition for deleting destructor; the deleting destructor was being emitted even though the class was declarations only on the fbc side
11+
- guthub #320: oGLfbGFX: scaling set by SCREENCONTROL not used when initializing opengl unix driver
1112

1213

1314
Version 1.08.0

src/gfxlib2/unix/gfx_driver_opengl_x11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ static int driver_init(char *title, int w, int h, int depth, int refresh_rate, i
221221
__fb_gl_params.mode_2d = __fb_gl_params.init_mode_2d;
222222

223223
if (__fb_gl_params.init_scale>1){
224-
__fb_gl_params.init_scale = __fb_gl_params.init_scale;
224+
__fb_gl_params.scale = __fb_gl_params.init_scale;
225225
free(__fb_gfx->dirty);
226226
__fb_gfx->dirty = (char *)calloc(1, __fb_gfx->h * __fb_gfx->scanline_size* __fb_gl_params.scale);
227227
}

0 commit comments

Comments
 (0)