mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 10:30:13 +01:00
nouveau: no need to do tnl wakeup, state updates are always hooked up
A TNL state update now requires a DrawBuffer to be set, which it isn't
early on in context creation. Since we init swtnl from context init,
this caused crashes.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91570
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 3fa1ca34cc)
This commit is contained in:
parent
d706b00522
commit
0a7202385d
2 changed files with 0 additions and 2 deletions
|
|
@ -338,7 +338,6 @@ TAG(swtnl_init)(struct gl_context *ctx)
|
|||
NUM_VERTEX_ATTRS * 4 * sizeof(GLfloat));
|
||||
_tnl_need_projected_coords(ctx, GL_FALSE);
|
||||
_tnl_allow_vertex_fog(ctx, GL_FALSE);
|
||||
_tnl_wakeup(ctx);
|
||||
|
||||
swtnl_alloc_vertices(ctx);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -285,7 +285,6 @@ nv04_render_init(struct gl_context *ctx)
|
|||
_tnl_init_vertices(ctx, tnl->vb.Size,
|
||||
NUM_VERTEX_ATTRS * 4 * sizeof(GLfloat));
|
||||
_tnl_allow_pixel_fog(ctx, GL_FALSE);
|
||||
_tnl_wakeup(ctx);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue