bool d3d_process_shader(void *data) { D3DVideo *d3d = reinterpret_cast<D3DVideo*>(data); if (strcmp(path_get_extension(d3d->cg_shader.c_str()), "cgp") == 0) return d3d_init_multipass(d3d); return d3d_init_singlepass(d3d); }
static bool d3d_process_shader(d3d_video_t *d3d) { #ifdef HAVE_FBO if (string_is_equal(path_get_extension(d3d->shader_path.c_str()), "cgp")) return d3d_init_multipass(d3d); #endif return d3d_init_singlepass(d3d); }
static bool d3d_process_shader(d3d_video_t *d3d) { #ifdef HAVE_FBO if (strcmp(path_get_extension(d3d->cg_shader.c_str()), "cgp") == 0) return d3d_init_multipass(d3d); #endif return d3d_init_singlepass(d3d); }