Code: Select all
GFL_LOAD_PARAMS load_params;
gflGetDefaultLoadParams( &load_params );
load_params.Flags = GFL_LOAD_ORIGINAL_DEPTH | GFL_LOAD_FORCE_COLOR_MODEL;
load_params.ColorModel = GFL_RGBA;
GFL_BITMAP *p_bitmap = 0;
GFL_ERROR const gfl_error = gflLoadBitmapFromMemory( reinterpret_cast<GFL_UINT8 const *>(pIn), filled, &p_bitmap, &load_params, NULL );
we'd really appreciate a fix for this!