nv30, nv40: add is_nv4x member to context and screen structs
[mesa.git] / src / gallium / drivers / nv30 / nv30_context.c
index 628b50d8dc3477755e13bc7c462cf8315fd252e0..afed8bb952affc04a4a7c7cf2c4c5bfd87bbb79d 100644 (file)
@@ -71,6 +71,8 @@ nv30_create(struct pipe_screen *pscreen, void *priv)
        screen->base.channel->user_private = nvfx;
        screen->base.channel->flush_notify = nv30_state_flush_notify;
 
+       nvfx->is_nv4x = screen->is_nv4x;
+
        nv30_init_query_functions(nvfx);
        nv30_init_surface_functions(nvfx);
        nv30_init_state_functions(nvfx);