"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gfxlib2/unix/gfx_driver_opengl_x11.c" between
FreeBASIC-1.08.0-source.tar.xz and FreeBASIC-1.08.1-source.tar.xz

About: FreeBasic is a set of cross-platform development tools consisting of a compiler, GNU-based assembler, linker and archiver, and supporting runtime libraries, including a software-based graphics library.

gfx_driver_opengl_x11.c  (FreeBASIC-1.08.0-source.tar.xz):gfx_driver_opengl_x11.c  (FreeBASIC-1.08.1-source.tar.xz)
skipping to change at line 223 skipping to change at line 223
} }
} while ((samples_attrib) && ((*samples_attrib -= 2) >= 0)); } while ((samples_attrib) && ((*samples_attrib -= 2) >= 0));
if (!info) { if (!info) {
return -1; return -1;
} }
__fb_gl_params.mode_2d = __fb_gl_params.init_mode_2d; __fb_gl_params.mode_2d = __fb_gl_params.init_mode_2d;
if (__fb_gl_params.init_scale>1){ if (__fb_gl_params.init_scale>1){
__fb_gl_params.init_scale = __fb_gl_params.init_scale; __fb_gl_params.scale = __fb_gl_params.init_scale;
free(__fb_gfx->dirty); free(__fb_gfx->dirty);
__fb_gfx->dirty = (char *)calloc(1, __fb_gfx->h * __fb_gfx->scanl ine_size* __fb_gl_params.scale); __fb_gfx->dirty = (char *)calloc(1, __fb_gfx->h * __fb_gfx->scanl ine_size* __fb_gl_params.scale);
} }
result = fb_hX11Init(title, w * __fb_gl_params.scale, h * __fb_gl_params. scale, info->depth, refresh_rate, flags); result = fb_hX11Init(title, w * __fb_gl_params.scale, h * __fb_gl_params. scale, info->depth, refresh_rate, flags);
XFree(info); XFree(info);
info = NULL; info = NULL;
if (result) if (result)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)