Browse Source

nv30: init sample_mask to some default value at context creation time

Fixes demos/lodbias.
tags/i965-primitive-restart-v2
Ben Skeggs 13 years ago
parent
commit
d37f90f131
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/drivers/nv30/nv30_context.c

+ 1
- 0
src/gallium/drivers/nv30/nv30_context.c View File

@@ -158,6 +158,7 @@ nv30_context_create(struct pipe_screen *pscreen, void *priv)
nv30->use_nv4x = (screen->eng3d->oclass >= NV40_3D_CLASS) ? ~0 : 0;
nv30->render_mode = HW;

nv30->sample_mask = 0xffff;
nv30_vbo_init(pipe);
nv30_query_init(pipe);
nv30_state_init(pipe);

Loading…
Cancel
Save