[Cogl] [PATCH] basic-video-player: don't try and sample mipmap
Robert Bragg
robert at sixbynine.org
Fri Mar 14 09:46:35 PDT 2014
From: Robert Bragg <robert.bragg at intel.com>
Since we don't generate a mipmap chain for uploaded video frames this
makes sure to just use a min filter of COGL_PIPELINE_FILTER_LINEAR.
---
examples/cogl-basic-video-player.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/cogl-basic-video-player.c b/examples/cogl-basic-video-player.c
index 34678f3..537cc91 100644
--- a/examples/cogl-basic-video-player.c
+++ b/examples/cogl-basic-video-player.c
@@ -208,7 +208,7 @@ _set_up_pipeline (gpointer instance,
{
free_layer--;
cogl_pipeline_set_layer_filters (data->video_pipeline, free_layer,
- COGL_PIPELINE_FILTER_LINEAR_MIPMAP_LINEAR,
+ COGL_PIPELINE_FILTER_LINEAR,
COGL_PIPELINE_FILTER_LINEAR);
}
--
1.9.0
More information about the Cogl
mailing list