From e04dff82b58aeca4d1c3f0478540de37c7097d39 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 20 May 2015 23:04:15 +0200 Subject: [PATCH] Add some notes --- gfx/d3d/d3d.cpp | 1 + gfx/drivers/omap_gfx.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 70856a1e9f..bf8f3efbe4 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -120,6 +120,7 @@ void d3d_make_d3dpp(void *data, { d3d_video_t *d3d = (d3d_video_t*)data; settings_t *settings = config_get_ptr(); + /* TODO/FIXME - get rid of global state dependencies. */ global_t *global = global_get_ptr(); memset(d3dpp, 0, sizeof(*d3dpp)); diff --git a/gfx/drivers/omap_gfx.c b/gfx/drivers/omap_gfx.c index f781159ff2..cac3e29321 100644 --- a/gfx/drivers/omap_gfx.c +++ b/gfx/drivers/omap_gfx.c @@ -926,7 +926,11 @@ static void *omap_gfx_init(const video_info_t *video, global_t *global = global_get_ptr(); /* Don't support filters at the moment since they make estimations * - * on the maximum used resolution difficult. */ + * on the maximum used resolution difficult. + * + * TODO/FIXME -we can't have global state dependencies + * in video drivers, please refactor and do away with this check. + * */ if (global->filter.filter) { RARCH_ERR("[video_omap]: filters are not supported\n");