mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
nv30: init sample_mask to some default value at context creation time
Fixes demos/lodbias.
This commit is contained in:
parent
29128e5ee2
commit
d37f90f131
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue