Fix wrong use of enum.

This commit is contained in:
Themaister 2012-11-22 23:11:21 +01:00
parent f278bc7f55
commit bce5e78f34

View File

@ -1369,7 +1369,7 @@ static void gl_init_pbo_readback(gl_t *gl)
scaler->out_stride = gl->vp.width * 3;
scaler->in_fmt = SCALER_FMT_ARGB8888;
scaler->out_fmt = SCALER_FMT_BGR24;
scaler->scaler_type = SCALER_FMT_BGR24;
scaler->scaler_type = SCALER_TYPE_POINT;
if (!scaler_ctx_gen_filter(scaler))
{