diff options
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_fragprog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index dae28cb0bcb..962ff45e89a 100644 --- a/src/mesa/drivers/dri/i915/i915_fragprog.c +++ b/src/mesa/drivers/dri/i915/i915_fragprog.c @@ -886,10 +886,10 @@ static struct program *i915NewProgram( GLcontext *ctx, return NULL; } - case GL_FRAGMENT_PROGRAM_NV: default: - _mesa_problem(ctx, "bad target in _mesa_new_program"); - return NULL; + /* Just fallback: + */ + return _mesa_new_program( ctx, target, id ); } } |