mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
softpipe: Replace GETENV by debug_get_bool_option.
This commit is contained in:
parent
3531c5284b
commit
7d3bab537c
1 changed files with 2 additions and 2 deletions
|
|
@ -225,10 +225,10 @@ softpipe_create( struct pipe_screen *screen,
|
|||
if (!softpipe->setup)
|
||||
goto fail;
|
||||
|
||||
if (GETENV( "SP_NO_RAST" ) != NULL)
|
||||
if (debug_get_bool_option( "SP_NO_RAST", FALSE ))
|
||||
softpipe->no_rast = TRUE;
|
||||
|
||||
if (GETENV( "SP_NO_VBUF" ) != NULL) {
|
||||
if (debug_get_bool_option( "SP_NO_VBUF", FALSE )) {
|
||||
/* Deprecated path -- vbuf is the intended interface to the draw module:
|
||||
*/
|
||||
draw_set_rasterize_stage(softpipe->draw, softpipe->setup);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue