[AD] float color value unset |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Value of dinfo->float_color is unset at score.c:420 and it's likely to produce undefined behavior. The same is for
dinfo->float_depth at score.c:433. It happens only if these two values are not set explicitly through allegro_gl_set().
Take a look at backtrace for more info.
#0 get_score (dinfo=0xbfffee70) at src/scorer.c:433
#1 0xb7fb0eba in __allegro_gl_score_config (refnum=0, dinfo=0xbfffee70) at src/scorer.c:459
#2 0xb7fcb5bb in allegro_gl_x_windowed_choose_visual () at src/x.c:472
#3 0xb7fcb91f in allegro_gl_x_create_window (fullscreen=0) at src/x.c:583
#4 0xb7fcad2f in allegro_gl_x_create_screen (w=640, h=480, vw=0, vh=0, depth=8, fullscreen=0) at src/x.c:205
#5 0xb7fcb0fe in allegro_gl_x_windowed_init (w=640, h=480, vw=0, vh=0, depth=8) at src/x.c:329
#6 0xb7fa997e in allegro_gl_default_gfx_init (w=640, h=480, vw=0, vh=0, depth=8) at src/alleggl.c:1094
#7 0xb7f052da in _get_vtable () from /usr/local/lib/liballeg.so.4.2
--
Milan Mimica